Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,10 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", title="My First Text Generator", description="Input text and submit!").launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from gradio.mix import Parallel
|
| 3 |
+
|
| 4 |
+
paco="My First Text Generator"
|
| 5 |
+
tom="Input"
|
| 6 |
+
model1=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
| 7 |
+
model2=gr.Interface.load("huggingface/gpt2")
|
| 8 |
+
|
| 9 |
+
gr.Parallel(model1, model2, title=paco, description=tom).launch()
|
| 10 |
|
|
|