Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,14 +69,14 @@ outputs = [
|
|
| 69 |
gr.Number(label="Word Count of given Text"),
|
| 70 |
gr.Number(label="Word Count of Summarized Text")
|
| 71 |
]
|
| 72 |
-
|
| 73 |
demo_app = gr.Interface(
|
| 74 |
fn=prediction,
|
| 75 |
inputs=gr.Textbox(lines =10,label = " Enter the Text", max_lines = 20),
|
| 76 |
outputs= outputs,
|
| 77 |
title = "Text Summarization",
|
| 78 |
#description = DESCRIPTION,
|
| 79 |
-
examples =
|
| 80 |
#cache_example = True,
|
| 81 |
#live = True,
|
| 82 |
theme = 'huggingface'
|
|
|
|
| 69 |
gr.Number(label="Word Count of given Text"),
|
| 70 |
gr.Number(label="Word Count of Summarized Text")
|
| 71 |
]
|
| 72 |
+
|
| 73 |
demo_app = gr.Interface(
|
| 74 |
fn=prediction,
|
| 75 |
inputs=gr.Textbox(lines =10,label = " Enter the Text", max_lines = 20),
|
| 76 |
outputs= outputs,
|
| 77 |
title = "Text Summarization",
|
| 78 |
#description = DESCRIPTION,
|
| 79 |
+
examples = text,
|
| 80 |
#cache_example = True,
|
| 81 |
#live = True,
|
| 82 |
theme = 'huggingface'
|