Streamlit ML Web App Deploy on Hugging Face Spaces with Github Actions Tutorial
HTML-код
- Опубликовано: 7 сен 2024
- You have a Streamlit ML Webapp code stored on Github and You want to deploy - Hugging Face Spaces is your latest option to deploy your Streamlit and Gradio ML Web Apps. This Hugging Face Tutorial shows how to set up a workflow of Streamlit Code to be deployed on Hugging Face Spaces. This workflow is going to be powered by Github Actions, Code on Github edited with Github.dev
Hosted App (Image to Text App) on Hugging Face Spaces - huggingface.co...
Github Code - github.com/amr...
Sign up for Hugging Face Spaces Beta - huggingface.co...
Hugging Face Spaces Documentation - huggingface.co...
ML Web App - Streamlit
Platform - Hugging Face Spaces
Editor - Github.Dev
CI/CD - Github Actions
How to build an Image to Text App using Streamlit • Python Tutorial to bui...
thank you...hope you are doing good...looking forward to more of your videos...
Thank you for your support. Hope you are doing good as well
Thanks buddy that helped me.
We want a practical explanation from scratch of how to use the gpt2 bot on our WordPress platform, for users to interact with, I can't find any clear explanation for this
I think there are a couple of plugins including some plugin in Wordpress ecoystem, you can check it out!
@@1littlecoder Things are difficult here, try to give an explanation if you know, thanks in advance
Thank you, this is an excellent tutorial !
Thank you 😊
Really helpful, thanks!
Glad it was helpful!
Excellent tutorial. Keep it up
Thanks a lot!
thank you ! i got what i wanted
Glad it was helpful!
Wow that is awesome! I like it.
Glad you liked it :)
Thanks a lot
I'm glad you liked it
beta version is availabe for pro only
Hii, Are there any limitations on the RAM size for deploying on Spaces?
where is the model you're deploying. when did you train your model???
This is focused on Hugging Face Spaces deployment
How to sync multiple spaces to folders inside the repo? I want to add multiple spaces inside a single repo.
Could you please elaborate the question?
@@1littlecoder Here's what I want to do:
1. Create a single github repo.
2. Create multiple folders inside that repo, each folder name associated with a different HF space.
3. Sync each folder to its corresponding Hugging Face space.
That is: I want to keep all my HF spaces into a single github repo.
@@satpalsinghrathore2665 Got it now. In the spaces yaml you can define the app.py file name. You can try to give that file name with your sub folder path. I'm not 100% sure if it'll work though
@@1littlecoder This may work. But this essentially means that in every space repo, I have code for all spaces. If I can push only a folder that would be great. May be I should try sub-trees.
how can deploy this on a custom domain sir?
Today this space have Runtime Error just like in my practice code 😕
That's strange. Did you try the streamlit code on your local machine?
on the local machine it runs fine.