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...

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

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

    thank you...hope you are doing good...looking forward to more of your videos...

    • @1littlecoder
      @1littlecoder  3 года назад

      Thank you for your support. Hope you are doing good as well

  • @lnstagrarm
    @lnstagrarm Месяц назад

    Thanks buddy that helped me.

  • @azzeddine1
    @azzeddine1 Год назад +1

    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

    • @1littlecoder
      @1littlecoder  Год назад

      I think there are a couple of plugins including some plugin in Wordpress ecoystem, you can check it out!

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

      @@1littlecoder Things are difficult here, try to give an explanation if you know, thanks in advance

  • @Dreaming-11
    @Dreaming-11 Год назад +1

    Thank you, this is an excellent tutorial !

  • @user-nc7jj7qi2x
    @user-nc7jj7qi2x 9 месяцев назад +1

    Really helpful, thanks!

  • @user-hx3hn1ni1o
    @user-hx3hn1ni1o Год назад +1

    Excellent tutorial. Keep it up

  • @fxtech-art8242
    @fxtech-art8242 Год назад +1

    thank you ! i got what i wanted

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

    Wow that is awesome! I like it.

  • @theenriquecarbo
    @theenriquecarbo 2 года назад +1

    Thanks a lot

  • @RajSingh-ik3og
    @RajSingh-ik3og 3 месяца назад

    beta version is availabe for pro only

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

    Hii, Are there any limitations on the RAM size for deploying on Spaces?

  • @faisalq4092
    @faisalq4092 11 месяцев назад

    where is the model you're deploying. when did you train your model???

    • @1littlecoder
      @1littlecoder  11 месяцев назад

      This is focused on Hugging Face Spaces deployment

  • @satpalsinghrathore2665
    @satpalsinghrathore2665 2 года назад

    How to sync multiple spaces to folders inside the repo? I want to add multiple spaces inside a single repo.

    • @1littlecoder
      @1littlecoder  2 года назад

      Could you please elaborate the question?

    • @satpalsinghrathore2665
      @satpalsinghrathore2665 2 года назад

      @@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.

    • @1littlecoder
      @1littlecoder  2 года назад

      @@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

    • @satpalsinghrathore2665
      @satpalsinghrathore2665 2 года назад

      @@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.

  • @SO-vq7qd
    @SO-vq7qd Год назад

    how can deploy this on a custom domain sir?

  • @theenriquecarbo
    @theenriquecarbo 2 года назад

    Today this space have Runtime Error just like in my practice code 😕

    • @1littlecoder
      @1littlecoder  2 года назад

      That's strange. Did you try the streamlit code on your local machine?

    • @theenriquecarbo
      @theenriquecarbo 2 года назад

      on the local machine it runs fine.