Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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/).

Expand Down