Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
|
|
|
|
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")
|