ml-tooling/opyrator

Cannot use with colab?

Adarsh-Vemali opened this issue · 2 comments

I had to change the port to 8070 as it said port 8080(default provided) is busy.
On this port in colab it shows that it is running but it doesn't open up in the browser. Firewall is off. I am using Google Colab on Chrome on Mac.

image
image

Hey @Adarsh-Vemali, the IP address 0.0.0.0 is pointing to your own computer, while running Opyrator in Colab would require an URL pointing to the Colab server. I am not that familiar with starting web servers on a Colab instance and I might be wrong, but based on my brief tryout it looks like you need to use a service such as ngrok to access any server started on Colab (I have tried it and with ngrok, for example, you can access the service). Hence, this is nothing Opyrator-specific.

Hi @raethlein thank you for the reply. Yes, ngrok with fastAPI works like a charm.