Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,9 @@ def summarize(input):
|
|
11 |
with gr.Blocks() as demo:
|
12 |
with gr.Row():
|
13 |
with gr.Column(min_width=900):
|
14 |
-
inputs = gr.Textbox(label="
|
15 |
btn = gr.Button("Submit") #Submit button
|
16 |
-
outputs = gr.Textbox(label="
|
17 |
|
18 |
btn.click(fn=summarize, inputs=[inputs], outputs=[outputs])
|
19 |
|
|
|
11 |
with gr.Blocks() as demo:
|
12 |
with gr.Row():
|
13 |
with gr.Column(min_width=900):
|
14 |
+
inputs = gr.Textbox(label="Input: Fill in the English text to summarise", lines=6)
|
15 |
btn = gr.Button("Submit") #Submit button
|
16 |
+
outputs = gr.Textbox(label="Output: Summarisation result", lines=3)
|
17 |
|
18 |
btn.click(fn=summarize, inputs=[inputs], outputs=[outputs])
|
19 |
|