Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#libraries
|
2 |
import gradio as gr
|
3 |
+
from gradio.mix import Parallel
|
4 |
|
5 |
+
#variable, functions and parameters
|
6 |
+
model1=gr.Interface.load("huggingface/gpt2")
|
7 |
+
model2=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
8 |
+
model3=gr.Interface.load("huggingface/distilgpt2")
|
9 |
+
|
10 |
+
#functions, parameters and variables
|
11 |
+
gr.Parallel(model1, model2, model3).launch()
|