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