Spaces:
Runtime error
Runtime error
Download app.py from m0nix/text_generator: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/spaces/m0nix/text_generator/resolve/main/app.py
- Command line
-
hf download hf://spaces/m0nix/text_generator/app.py
-
curl -L -o app.py https://huggingface.co/spaces/m0nix/text_generator/resolve/main/app.py
372 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("huggingface/EleutherAI/gpt-j-6B") | |
| model3=gr.Interface.load("huggingface/EleutherAI/gpt-neo-1.3B") | |
| gr. Parallel(model1,model2,model3,title=title, description=description).launch() |