maxim icon indicating copy to clipboard operation
maxim copied to clipboard

add web demo/models to Huggingface

Open AK391 opened this issue 3 years ago • 4 comments
trafficstars

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.

AK391 avatar Apr 11 '22 19:04 AK391

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

vztu avatar Apr 12 '22 18:04 vztu

@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

AK391 avatar Apr 12 '22 19:04 AK391

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

vztu avatar Apr 13 '22 00:04 vztu

I have added a couple of spaces:

  • https://huggingface.co/spaces/sayakpaul/lol-enhancement-maxim
  • https://huggingface.co/spaces/sayakpaul/sidd-denoising-maxim
  • https://huggingface.co/spaces/sayakpaul/sots-outdoor-dehazing-maxim
  • https://huggingface.co/spaces/sayakpaul/sots-indoor-dehazing-maxim

Will be adding the rest soon.

More details are here: #30.

sayakpaul avatar Oct 20 '22 07:10 sayakpaul