rajj0 commited on
Commit
3850bbe
·
1 Parent(s): 24ed977

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,11 +13,11 @@ def summarize(text):
13
  return input
14
 
15
  with gr.Blocks() as demo:
16
- text = gr.Textbox(label="Text", lines=10, placeholder="Enter text here")
17
  output = gr.Textbox(label="Output")
18
  btn = gr.Button("Abstract")
19
  btn.click(fn=summarize, inputs=text, outputs=[output])
20
 
21
 
22
-
23
 
 
13
  return input
14
 
15
  with gr.Blocks() as demo:
16
+ text = gr.Textbox(label="text", lines=10, placeholder="Enter text here")
17
  output = gr.Textbox(label="Output")
18
  btn = gr.Button("Abstract")
19
  btn.click(fn=summarize, inputs=text, outputs=[output])
20
 
21
 
22
+ demo.launch()
23