Spaces:
Sleeping
Sleeping
update app.py #5
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ def summarize(text):
|
|
36 |
|
37 |
demo = gr.Interface(
|
38 |
fn=summarize,
|
39 |
-
inputs=gr.Textbox(lines=5, max_lines=20, label="
|
40 |
-
outputs="
|
41 |
)
|
42 |
|
43 |
if __name__ == "__main__":
|
|
|
36 |
|
37 |
demo = gr.Interface(
|
38 |
fn=summarize,
|
39 |
+
inputs=gr.Textbox(placeholder="Enter news " , lines=5, max_lines=20, label="News"),
|
40 |
+
outputs=gr.Textbox(lable="Generated Summary")
|
41 |
)
|
42 |
|
43 |
if __name__ == "__main__":
|