Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

add web demo/models to Huggingface #9

Open
AK391 opened this issue Apr 11, 2022 · 4 comments
Open

add web demo/models to Huggingface #9

AK391 opened this issue Apr 11, 2022 · 4 comments

Comments

@AK391
Copy link

AK391 commented Apr 11, 2022

Hi, would you be interested in adding maxim to Hugging Face? The Hub offers free hosting, and it would make your work more accessible and visible to the rest of the ML community. Models/datasets/spaces(web demos) can be added to a user account or organization similar to github.

Example from other organizations:
Keras: https://huggingface.co/keras-io
Microsoft: https://huggingface.co/microsoft
Facebook: https://huggingface.co/facebook

Example spaces with repos:
github: https://github.com/salesforce/BLIP
Spaces: https://huggingface.co/spaces/salesforce/BLIP

github: https://github.com/facebookresearch/omnivore
Spaces: https://huggingface.co/spaces/akhaliq/omnivore

and here are guides for adding spaces/models/datasets to your org

How to add a Space: https://huggingface.co/blog/gradio-spaces
how to add models: https://huggingface.co/docs/hub/adding-a-model
uploading a dataset: https://huggingface.co/docs/datasets/upload_dataset.html

Please let us know if you would be interested and if you have any questions, we can also help with the technical implementation.

@vztu
Copy link
Contributor

vztu commented Apr 12, 2022

Hi thanks @AK391. Yes I'm very interested in adding maxim to Hugging Face spaces. I have never done this before, but I do see a lot of exciting demos in Hugging Face spaces, which look pretty great.

To start with, I should be following these guides, right?

How to add a Space: https://huggingface.co/blog/gradio-spaces
how to add models: https://huggingface.co/docs/hub/adding-a-model
uploading a dataset: https://huggingface.co/docs/datasets/upload_dataset.html

@AK391
Copy link
Author

AK391 commented Apr 12, 2022

@vztu Hi, great, yes you can follow the guide to setup a gradio demo on Hugging Face Spaces https://huggingface.co/blog/gradio-spaces, there is also gradio docs here https://gradio.app/docs/. The other two are guides for adding models(checkpoints/weights) and datasets.

Here is another example of a Gradio demo: https://huggingface.co/spaces/multimodalart/latentdiffusion
and code: https://huggingface.co/spaces/multimodalart/latentdiffusion/blob/main/app.py

@vztu
Copy link
Contributor

vztu commented Apr 13, 2022

Thanks AK! Let me give it a try and let you know if I meet any problems~

@sayakpaul
Copy link
Contributor

I have added a couple of spaces:

Will be adding the rest soon.

More details are here: #30.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants