Spaces:
Runtime error
Runtime error
Bianca0930
commited on
Commit
•
e817128
1
Parent(s):
adcef19
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
|
5 |
|
|
|
1 |
import gradio as gr
|
2 |
+
from gradio.mix import Parallel
|
3 |
|
4 |
+
title="My First Text Generation"
|
5 |
+
description="Input text.
|
6 |
|
7 |
+
mode11=gr.Interface.load("huggingface?EleutherAI/gpt-j-6B")
|
8 |
+
mode12=gr.Interface.load("huggingface/gpt2")
|
9 |
+
mode13=gr.Interface.load("huggingface?EleutherAI/gpt-neo-125M")
|
10 |
+
|
11 |
+
gr.Parellel(mode11,mode12,mode13,title-title,description=description).launch()
|
12 |
|