Introduction to Flask using google colab and ngrok

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

Комментарии • 12

  • @kyomdonalddogo5775
    @kyomdonalddogo5775 4 года назад +2

    Thank you for the code. I tried to use another html file and script. They objective is that when a user types his name on the textbox it returns it on the console. However it did not work. Any tips to fixing the issue? Thanks

    • @patlongcodes
      @patlongcodes  4 года назад

      When using the app.route() method you'll have to use the post / get methods. For example @app.route('/', methods = ['POST', 'GET']). Hopefully that helps! Thanks

    • @kyomdonalddogo5775
      @kyomdonalddogo5775 4 года назад +1

      @@patlongcodes did that part of the video. If you have time sir, check deep lizard deploying keras model

  • @busraduygu7324
    @busraduygu7324 3 года назад +1

    Hello, I tried the first example of hello world you made, but the tunnel was not found. Please help me.

    • @patlongcodes
      @patlongcodes  3 года назад +1

      I'm experiencing the same issue. Someone has reported the issues to the flask-ngrok page on github. I'll update the comments if this get's resolved. github.com/gstaff/flask-ngrok/issues/18

    • @dineshraja8208
      @dineshraja8208 3 года назад

      @@patlongcodes thank you so much

  • @exoticme4760
    @exoticme4760 3 года назад

    How to upload an image in the "text.html" using flask and colab? Do you have any video on that?

  • @MadaraUchiha-fb4ww
    @MadaraUchiha-fb4ww 3 года назад

    hi sir, i tested the code. it is running correctly but when i re run the code or run the code after modifying the html content. it shows that the webpage isn't working right now. it works fine for the first time but not after i re run the code. please help

    • @patlongcodes
      @patlongcodes  3 года назад +1

      Hi @Madara Uchiha. Based on your experience, it sounds like you're going to the previous ngrok url. If you're changing the html, you'll need to interrupt execution and re-run and then click the new link ngrok tunnel link. Hopefully that is helpful.

  • @karthiavenger4577
    @karthiavenger4577 4 года назад +1

    Bootstrap loaded website is not showing but website is running

    • @patlongcodes
      @patlongcodes  4 года назад

      I tested using Google Colab and Google Chrome. If you're using jupyter notebook in anaconda results may be different and perhaps you may have to set localhost differently? Or double check the cdn address, perhaps? I'm speculating but there could be several different issues and you may want to check the console log (ctrl + shift + j in windows).

  • @imranullah3097
    @imranullah3097 Год назад

    But they not working with me