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 to Huggingface #1

Open
AK391 opened this issue Apr 23, 2022 · 0 comments
Open

add web demo to Huggingface #1

AK391 opened this issue Apr 23, 2022 · 0 comments

Comments

@AK391
Copy link

AK391 commented Apr 23, 2022

Hi, would you be interested in adding modelexicon web demo to Hugging Face using Gradio?

here is a guide for adding spaces to your org

How to add a Space: https://huggingface.co/blog/gradio-spaces

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

a Gradio Demo can be setup in 2 lines of code using the inference api integration through huggingface

import gradio as gr
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B").launch()

would launch the demo

Please let us know if you would be interested and if you have any questions.

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

1 participant