Week 1 flask Timeout error

Sorry, for testing and debugging strategies lecture of week 1, I use my local Jupyter and get timeout error when do requests.get. I am not an experienced python web surfer and obviously I am missing something. Thanks for help!

Hi @Dennis_Sinitsky

If you’re using Jupyter locally, make sure your Flask app is running and accessible. Try testing with localhost instead of the IP address (e.g., http://127.0.0.1:5000). Also, double-check if the correct port is open and accessible.

Hope this helps!

yes, I am not very familiar with Flask and ran colab code instead of local.
Now (with help of ChatGPT :slight_smile: ) the problem is fixed!

Nice, good to hear that!