marcogreiveldinger / videos

This is a repository about my youtube videos where you can find code-snippets, links and other tutorials
MIT License
56 stars 17 forks source link

Fix ngrok tunneling issue #12

Closed skt7 closed 3 months ago

skt7 commented 3 months ago

@marcogreiveldinger thanks for the amazing video.

I encountered that the ngrok had some tunneling issues with the command you have used here with ollama version > 1.2.8, the same was highlited in one of the issues on ollama repo as well: https://github.com/ollama/ollama/issues/3269

They have provided a fix for the same by setting host-header to localhost:11434, check here: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-use-ollama-with-ngrok

I was able to successfully run after making required changes to include the host-header as suggested. Have made the required changes in the notebook with this PR, hope it helps!

marcogreiveldinger commented 3 months ago

Good spot! Already saw some comments on the youtube video but I did not have the time to adapt this! Thanks a lot!