Spaces:
Running
Running
update app.py #2
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def summarize(text):
|
|
35 |
|
36 |
|
37 |
demo = gr.interface(
|
38 |
-
summarize,
|
39 |
inputs=gr.Textbox(lines=5, max_lines=20, label="Input Text"),
|
40 |
outputs="Summarization"
|
41 |
)
|
|
|
35 |
|
36 |
|
37 |
demo = gr.interface(
|
38 |
+
fn=summarize,
|
39 |
inputs=gr.Textbox(lines=5, max_lines=20, label="Input Text"),
|
40 |
outputs="Summarization"
|
41 |
)
|