Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Collaborator

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
Collaborator

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants