Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,7 @@ The extractive models for this app are using sentence-transformer models, which
|
|
| 147 |
with gr.Accordion("Here are some examples you can use:", open=False):
|
| 148 |
gr.Markdown("<h3>Press one of the test examples below.<h3>")
|
| 149 |
gr.Markdown("NOTE: First time inference for a new model will take time, since a new model has to downloaded before inference.")
|
| 150 |
-
gr.Examples([[
|
| 151 |
, 'None', 4,'swedish', "KBLab/sentence-bert-swedish-cased"]], [text_extract, ex_threshold, ex_sent ,ex_language, model_in_ex])
|
| 152 |
|
| 153 |
with gr.Box():
|
|
|
|
| 147 |
with gr.Accordion("Here are some examples you can use:", open=False):
|
| 148 |
gr.Markdown("<h3>Press one of the test examples below.<h3>")
|
| 149 |
gr.Markdown("NOTE: First time inference for a new model will take time, since a new model has to downloaded before inference.")
|
| 150 |
+
gr.Examples([[extractive_example_text_1
|
| 151 |
, 'None', 4,'swedish', "KBLab/sentence-bert-swedish-cased"]], [text_extract, ex_threshold, ex_sent ,ex_language, model_in_ex])
|
| 152 |
|
| 153 |
with gr.Box():
|