Sir, My final year project is related to Automated Fruit Ripeness Detection using Deep Learning model. There will e at least four fruits , we have to train model to classify fruit either Underripe, ripe or overripe. Can you please help me. Can I make a GUI we-based in Flask in Google Collab??? or I should make Web Flask app using VS code and then integrate my model at Google Collab? Which will be more convenient for me.
Everythings goes great but when i click on button, it gives me this error : Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Can other computers access this ngrok site? If so, how can we protect it with a password or IP requirement? Also, does the colab notebook need to be open and running for the site to work?
You cant access it from other computer as your server running on 127.0.0.1:5000/. it is pointing to localhost address. If you close your Colab then session will end and it will stop everything.
You need to add html code to upload file and save it in temp folder and try to accept it. I am working on one episode where I will sho how to upload image and apply model on it to make prediction. Will publish soon...stay tunned..
Hello, How do I overcome "ERR_NGROK_6022" error? It says "install authtoken and restart agent", but I don't have any idea how to do that.. the commands in websites don't work here.. no one explained how to do that in Google colab. I'm desparate for your help!! Please tell me what to do asap
@@arjun-ou2hm Hi, in the end I wasn't able to solve the error, I instead used 'gradio' and created a simple interface. (The sole reason I wanted to use flask was to create an interface so I replaced it with gradio in a blink)
dont we need an authtoken for the ngrok or is it automatically handled by flask-ngrok lib?
Excellent.
this is really awsome
Sir, My final year project is related to Automated Fruit Ripeness Detection using Deep Learning model. There will e at least four fruits , we have to train model to classify fruit either Underripe, ripe or overripe. Can you please help me. Can I make a GUI we-based in Flask in Google Collab??? or I should make Web Flask app using VS code and then integrate my model at Google Collab? Which will be more convenient for me.
Thank you for this helpful tutorial! But how do you keep your flask app from shutting down when google colab disconnects from inactivity?
If you close notebook. Session will close and server shut down. There no way to keep it running forever on colab.
Thanks a lot. this video is very unique
Glad you liked it!
nice video
Thanks
very useful video, how we can deploy object detection model using detectron2 and flask on Colab
Will try...
Everythings goes great but when i click on button, it gives me this error :
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Hello, how can i display an image using flask on google colab please
Loved this video ! Can we please have the honor of more such knowledge/expertise please ?!
Sure!
How can i dispay sql query answers using flask framework on google collab?
use flask-sqlalchemy package
Can other computers access this ngrok site? If so, how can we protect it with a password or IP requirement? Also, does the colab notebook need to be open and running for the site to work?
You cant access it from other computer as your server running on 127.0.0.1:5000/. it is pointing to localhost address. If you close your Colab then session will end and it will stop everything.
Awesome Boss !
Thank you!
Hello sir
I have to display a data set which is of thousands of rows and 25 columns how to do this through rest api using flask in google colab
You can do it in json format.
@@DataMagicAI I even tried that but it is showing error
What to do if I want to send an image as input for model.
Check flasks based episode on our channel under ML
Model deployment series.
this does not work anymore, it requires an auth code, and even when I do give it the auth code, it still does not work
Ohhh, Once time permits...I will check it and try to sort it out.
Thanks for your comment.
!ngrok authtoken "ENTER AUTH CODE". This line worked for me.
In the 'getPrediction' function how do we take image input? Can you explain that?
You need to add html code to upload file and save it in temp folder and try to accept it.
I am working on one episode where I will sho how to upload image and apply model on it to make prediction.
Will publish soon...stay tunned..
@@DataMagicAI is this available or not yet? thank you
The link will generated but not working
how to run the pretrained teachable machine model with flask
You first need to tune pretrained model and then you can use tunned model with flask.
Actually i have the pretrained model and I runned it with falak and ngrok but still I'm not getting the localhost running
@@girijavarma7742 flask**
When opening the link in the end it is showing sign up and download authtoken. Can u tell why and how to proceed?
please reply i have a practical tomorrow
do you have github for this?
I guess, nope
how can i do this in a .h5 model and not a .pkl model
You can make use of Keras to load the model. Refer below video ruclips.net/video/oFvayhdwkwQ/видео.html
@@DataMagicAI ok,thank you so much!!
Can we use bootstrap for the user interface?
Yes you can. You need to install flask-bootstrap depedency.
Pip install flask-bootstrap
why is it asking to sign up and download authtoken?
When you are connecting your Google drive to Colab notebook. You need to give the acces permission so it can access files form drive.
@@DataMagicAI why is it asking when opening the ngrok link?
🎉🎉🎉🎉
Why is it saying to download and login in that app?
Can you breif on the issue? When n where exactly you are getting it...
Hello,
How do I overcome "ERR_NGROK_6022" error? It says "install authtoken and restart agent", but I don't have any idea how to do that.. the commands in websites don't work here.. no one explained how to do that in Google colab.
I'm desparate for your help!!
Please tell me what to do asap
How tó solve this error
@@arjun-ou2hm Hi, in the end I wasn't able to solve the error, I instead used 'gradio' and created a simple interface. (The sole reason I wanted to use flask was to create an interface so I replaced it with gradio in a blink)
just do it. stop helping beginners who don't know which end is up
I am here for everyone, will do it👍🏻
please share the code and template
Yeah sure! I missed to add code link.
GitHub link added in the description box
How i combine my colab code with my webpage......plzzzzzzzzz