Spaces:
Running
Running
Commit
·
d2a9073
1
Parent(s):
4fde3cd
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,13 @@ from gradio.mix import Parallel, Series
|
|
10 |
def greet(name):
|
11 |
return "Hello " + name + "!!"
|
12 |
|
13 |
-
|
14 |
io1 = gr.Interface.load('huggingface/SamuelMiller/lil_sumsum')
|
|
|
|
|
|
|
15 |
# 'huggingface/google/pegasus-large'
|
16 |
-
|
17 |
desc = "Summarize some text!"
|
18 |
iface = Parallel(io1,
|
19 |
theme='huggingface',
|
|
|
10 |
def greet(name):
|
11 |
return "Hello " + name + "!!"
|
12 |
|
13 |
+
|
14 |
io1 = gr.Interface.load('huggingface/SamuelMiller/lil_sumsum')
|
15 |
+
|
16 |
+
# from original script:
|
17 |
+
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
18 |
# 'huggingface/google/pegasus-large'
|
19 |
+
|
20 |
desc = "Summarize some text!"
|
21 |
iface = Parallel(io1,
|
22 |
theme='huggingface',
|