Spaces:
Build error
Build error
Commit
·
ee065a7
1
Parent(s):
d2a9073
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def greet(name):
|
|
| 11 |
return "Hello " + name + "!!"
|
| 12 |
|
| 13 |
|
| 14 |
-
io1 = gr.Interface.load('huggingface/SamuelMiller/
|
| 15 |
|
| 16 |
# from original script:
|
| 17 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
@@ -20,7 +20,7 @@ io1 = gr.Interface.load('huggingface/SamuelMiller/lil_sumsum')
|
|
| 20 |
desc = "Summarize some text!"
|
| 21 |
iface = Parallel(io1,
|
| 22 |
theme='huggingface',
|
| 23 |
-
title= '
|
| 24 |
description = desc,
|
| 25 |
# examples=None, #replace "sample" with directory to let gradio scan through those files and give you the text
|
| 26 |
inputs = gr.inputs.Textbox(lines = 10, label="Text"))
|
|
|
|
| 11 |
return "Hello " + name + "!!"
|
| 12 |
|
| 13 |
|
| 14 |
+
io1 = gr.Interface.load('huggingface/SamuelMiller/lil_sum_sum')
|
| 15 |
|
| 16 |
# from original script:
|
| 17 |
# iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
|
| 20 |
desc = "Summarize some text!"
|
| 21 |
iface = Parallel(io1,
|
| 22 |
theme='huggingface',
|
| 23 |
+
title= 'Lil Sumsum Summarizer',
|
| 24 |
description = desc,
|
| 25 |
# examples=None, #replace "sample" with directory to let gradio scan through those files and give you the text
|
| 26 |
inputs = gr.inputs.Textbox(lines = 10, label="Text"))
|