Spaces:
Sleeping
Sleeping
wookiee-jk
commited on
Commit
•
930278b
1
Parent(s):
1300939
Update app.py
Browse files
app.py
CHANGED
@@ -18,5 +18,5 @@ def summ(txt):
|
|
18 |
)
|
19 |
return tokenizer.decode(summary_text_ids[0], skip_special_tokens=True)
|
20 |
|
21 |
-
interface = gr.
|
22 |
interface.launch()
|
|
|
18 |
)
|
19 |
return tokenizer.decode(summary_text_ids[0], skip_special_tokens=True)
|
20 |
|
21 |
+
interface = gr.Interface(summ, [gr.Textbox(label="original_text")], [gr.Textbox(label="summary")])
|
22 |
interface.launch()
|