Gabriel commited on
Commit
e93f995
1 Parent(s): 13eaa39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -128,7 +128,9 @@ The extractive models for this app are using sentence-transformer models, which
128
  with gr.Row():
129
  with gr.Column(scale=4):
130
  text_extract= gr.TextArea(label="Input text to summarize", placeholder="Input text")
131
- extract_button = gr.Button("Summarize!", variant='primary')
 
 
132
  with gr.Column(scale=3):
133
  with gr.Row():
134
  ex_sent =gr.Slider(minimum=1, maximum=7, value=4, step=1, label="Sentences to return")
 
128
  with gr.Row():
129
  with gr.Column(scale=4):
130
  text_extract= gr.TextArea(label="Input text to summarize", placeholder="Input text")
131
+ with gr.Row():
132
+ extract_button_clear = gr.Button("Clear", variant='secondary')
133
+ extract_button = gr.Button("Summarize!", variant='primary')
134
  with gr.Column(scale=3):
135
  with gr.Row():
136
  ex_sent =gr.Slider(minimum=1, maximum=7, value=4, step=1, label="Sentences to return")