Spaces:
Sleeping
Sleeping
Commit
·
e43ff64
1
Parent(s):
d500bfa
Update app.py
Browse files
app.py
CHANGED
@@ -9,12 +9,11 @@ def greet(name):
|
|
9 |
io1 = gr.Interface.load('huggingface/google/pegasus-large')
|
10 |
|
11 |
desc = "Summarize some text!"
|
12 |
-
|
13 |
-
iface = Parallel(
|
14 |
theme='huggingface',
|
15 |
-
title= '
|
16 |
description = desc,
|
17 |
examples=None, #replace "sample" with directory to let gradio scan through those files and give you the text
|
18 |
inputs = gr.inputs.Textbox(lines = 10, label="Text"))
|
19 |
|
20 |
-
iface.launch(inline = False)
|
|
|
9 |
io1 = gr.Interface.load('huggingface/google/pegasus-large')
|
10 |
|
11 |
desc = "Summarize some text!"
|
12 |
+
iface = Parallel(io1,
|
|
|
13 |
theme='huggingface',
|
14 |
+
title= 'lil sum sum Summarizer',
|
15 |
description = desc,
|
16 |
examples=None, #replace "sample" with directory to let gradio scan through those files and give you the text
|
17 |
inputs = gr.inputs.Textbox(lines = 10, label="Text"))
|
18 |
|
19 |
+
iface.launch(inline = False)
|