From 011b889d43ae623e8562b6b3c14c92826d8e234f Mon Sep 17 00:00:00 2001 From: DaPanda <156377255+DaPandamonium@users.noreply.github.com> Date: Thu, 31 Oct 2024 23:57:53 +0200 Subject: [PATCH 1/2] Misspeling Bananas Fixed the misspell of the word Banana. --- .../detect-hotdog-with-hugging-face.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx b/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx index 4bd0b684..181f4097 100644 --- a/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx +++ b/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx @@ -276,9 +276,9 @@ Nice now all of our flask code is done! python3 web.py ``` -## Bonus implement the successor Not Bannana. +## Bonus implement the successor Not Banana. -The not\_hot\_dog model was originally created by Julien C at https://huggingface.co/julien-c. Now the fun thing is you can actually train your own version of the model, which we can save for another time, but in the meantime you can replace your `HUGGING_FACE_API_URL` with one I created for not bannanas. Just upload pictures of Bannanas instead of hot dogs. +The not\_hot\_dog model was originally created by Julien C at https://huggingface.co/julien-c. Now the fun thing is you can actually train your own version of the model, which we can save for another time, but in the meantime you can replace your `HUGGING_FACE_API_URL` with one I created for not bananas. Just upload pictures of Bananas instead of hot dogs. ## Replace your Url @@ -288,11 +288,11 @@ Just set your `HUGGING_FACE_API_URL` in your `.env` file to `https://api-inferen HUGGING_FACE_API_URL=https://api-inference.huggingface.co/models/andrewvanbeek/autotrain-not-something-2133568871 ``` -Now run the project again and upload bannanas or anything not bannanas. +Now run the project again and upload bananas or anything not bananas. ## Final Words -You did it, you are a Silicon Valley Legend just like Jian Yang, and now we have two APIs that can detect whether something is not a hot dog or is not a bannana. If you keep this innovation up you will be raising money from Top VCs like Peter Gregory at Raviga and be on your way to be the next Hooli or Pied Piper. Thanks for reading! +You did it, you are a Silicon Valley Legend just like Jian Yang, and now we have two APIs that can detect whether something is not a hot dog or is not a banana. If you keep this innovation up you will be raising money from Top VCs like Peter Gregory at Raviga and be on your way to be the next Hooli or Pied Piper. Thanks for reading! Hope you enjoyed the tutorial. If you have any questions, reach out to me on my linkedin [andrewryanvanbeek](https://www.linkedin.com/in/andrewryanvanbeek). Also if you are interested in following what I am personally building check out [Dev-Docs](https://dev-docs.typedream.app/). From 1d212256d0648fa195e89b9712c593182d877a45 Mon Sep 17 00:00:00 2001 From: Eric Wynn Romere <18331781+intelagense@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:29:06 -0500 Subject: [PATCH 2/2] correct case mismatch --- .../detect-hotdog-with-hugging-face.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx b/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx index 181f4097..4324f63b 100644 --- a/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx +++ b/projects/detect-hotdog-with-hugging-face/detect-hotdog-with-hugging-face.mdx @@ -278,7 +278,7 @@ python3 web.py ## Bonus implement the successor Not Banana. -The not\_hot\_dog model was originally created by Julien C at https://huggingface.co/julien-c. Now the fun thing is you can actually train your own version of the model, which we can save for another time, but in the meantime you can replace your `HUGGING_FACE_API_URL` with one I created for not bananas. Just upload pictures of Bananas instead of hot dogs. +The not\_hot\_dog model was originally created by Julien C at https://huggingface.co/julien-c. Now the fun thing is you can actually train your own version of the model, which we can save for another time, but in the meantime you can replace your `HUGGING_FACE_API_URL` with one I created for not bananas. Just upload pictures of bananas instead of hot dogs. ## Replace your Url