Gabriel commited on
Commit
795fbf0
1 Parent(s): 08b0470

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -102,8 +102,7 @@ The extractive models for this app are using sentence-transformer models, which
102
  with gr.Row():
103
  with gr.Column(scale=4):
104
  text_baseline_transformer= gr.TextArea(label="Input text to summarize", placeholder="Input summarization",)
105
- with gr.Column():
106
- transformer_button = gr.Button("Summarize!")
107
  with gr.Column(scale=3):
108
  with gr.Row():
109
  num_beams = gr.Slider(minimum=2, maximum=10, value=2, step=1, label="Number of Beams")
@@ -128,7 +127,7 @@ The extractive models for this app are using sentence-transformer models, which
128
  """Use this tab to experiment summarization task of text with a graph based method (LexRank).""")
129
  with gr.Row():
130
  with gr.Column(scale=4):
131
- text_extract= gr.TextArea(label="Input Text", placeholder="Input text to summarize")
132
  extract_button = gr.Button("Summarize!")
133
  with gr.Column(scale=3):
134
  with gr.Row():
 
102
  with gr.Row():
103
  with gr.Column(scale=4):
104
  text_baseline_transformer= gr.TextArea(label="Input text to summarize", placeholder="Input summarization",)
105
+ transformer_button = gr.Button("Summarize!")
 
106
  with gr.Column(scale=3):
107
  with gr.Row():
108
  num_beams = gr.Slider(minimum=2, maximum=10, value=2, step=1, label="Number of Beams")
 
127
  """Use this tab to experiment summarization task of text with a graph based method (LexRank).""")
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!")
132
  with gr.Column(scale=3):
133
  with gr.Row():