Spaces:
Runtime error
Runtime error
Commit
·
3ed6dab
1
Parent(s):
4b9ceb2
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def summ_t5(text):
|
|
19 |
summary_text = tokenizer_t5.decode(summary_ids[0], skip_special_tokens=True)
|
20 |
return summary_text
|
21 |
|
22 |
-
|
23 |
fn=summ_t5,
|
24 |
inputs="text",
|
25 |
outputs="text")
|
|
|
19 |
summary_text = tokenizer_t5.decode(summary_ids[0], skip_special_tokens=True)
|
20 |
return summary_text
|
21 |
|
22 |
+
summ_demo = gr.Interface(
|
23 |
fn=summ_t5,
|
24 |
inputs="text",
|
25 |
outputs="text")
|