Spaces:
Build error
Build error
Download app.py from HANOGHTIC/text_generator: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/HANOGHTIC/text_generator/resolve/refs%2Fpr%2F1/app.py
- Command line
-
hf download hf://spaces/HANOGHTIC/text_generator@refs/pr/1/app.py
-
curl -L -o app.py https://huggingface.co/spaces/HANOGHTIC/text_generator/resolve/refs%2Fpr%2F1/app.py
349 Bytes
| import gradio as gr | |
| from gradio.mix import Parallel | |
| title="My First Text Generator" | |
| description="Input text and submit" | |
| model1=gr.Interface.load("huggingface/gpt2") | |
| model2=gr.Interface.load("EleutherAI/gpt-neo-1.3B") | |
| model3=gr.Interface.load("bigscience/bloom-560m") | |
| gr.Parallel(model1,model2,model3,title=title, description=description).launch() |