Permanent hosting for Colab Notebooks
Hey guys, I was going through the gradio quickstart guideQuickstartwhich points to this Gogle Colab notebookGoogle ColabThere after running the server in the last step it saysThis share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https:// huggingface co/spacesHow can I get a permanent url for my Colab notebook?
2023-04-10T17:46:37Z
hi@ytrewk,If you want your app live beyond the 72hours link on Colab, please considerer publishing an alternative version onSpaces. You’ll need to convert your notebook into a python applicationgradio.appSharing Your AppA Step-by-Step Gradio Tutorial
2023-04-25T13:06:41Z
I actually don’t want my app live continuously for more than 72 hours, but what I am looking for is a way to have my app reuse the same url when I restart it. Is that possible?
2023-04-25T17:58:08Z
hi@ytrewk, that’s not possible with Spaces, you can set a sleep time, however it will boot up after the next request. You can only have the ephemeral deployment URL using Gradio on a Google Colab.
2023-04-25T23:25:20Z
@radamesNow I am confused. I tried to search for any “paid” info on gradio website and docs and could not find any. Instead, I found this on the page you linked:Hosting on HF SpacesIf you’d like to have a permanent link to your Gradio demo on the internet, use Hugging Face Spaces.How should I grasp your message?I also don’t really understand what you mean by “set a sleep time, however it will bot up after the next request”. Next request to what? To the url? That’s fine, actually that’s convenient. When I set the app to sleep, it’s convenient to have it start once I visit the url again.
2023-04-25T23:53:49Z
Sorry If it was confusing.When you set a Space, on the Free Tier, the Space app will sleep after 48h of inactivity. go to your Space settingshttps://huggingface.co/spaces/ytrewk/YOUR_SPACE/settingsYou will have a sharable and persistent URL for your Space regardless if it’s sleeping or not.image982×529 71.8 KB
2023-11-19T06:29:28Z
ytrewk:For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https:// huggingface co/spacesClassic misleading ads. Shame on you!You do not provide permanent gradio URL (more than 72 hours) from Google colab with free tier!There is no way to use Google colab with this address.