Spaces:
Sleeping
Sleeping
marme
commited on
Commit
·
eb29173
1
Parent(s):
5e5613c
add mirth/chonky_mmbert_small_multilingual_1
Browse files
app.py
CHANGED
|
@@ -10,7 +10,8 @@ def run(text, model_id):
|
|
| 10 |
with gr.Blocks() as demo:
|
| 11 |
gr.Markdown("# Semantic Chunking Demo\n **Note**: This Space runs on CPU only, so input is limited to max. 50000 characters.")
|
| 12 |
model = gr.Dropdown(label="Choose model", value="mamei16/chonky_distilbert_base_uncased_1.1",
|
| 13 |
-
choices=["mamei16/chonky_distilbert_base_uncased_1.1", "mirth/chonky_distilbert_base_uncased_1", "mirth/chonky_modernbert_base_1"
|
|
|
|
| 14 |
button = gr.Button("Run", variant="primary")
|
| 15 |
text = gr.Textbox(label='Input Text', max_length=50000)
|
| 16 |
gr.Markdown("## Result chunks:")
|
|
|
|
| 10 |
with gr.Blocks() as demo:
|
| 11 |
gr.Markdown("# Semantic Chunking Demo\n **Note**: This Space runs on CPU only, so input is limited to max. 50000 characters.")
|
| 12 |
model = gr.Dropdown(label="Choose model", value="mamei16/chonky_distilbert_base_uncased_1.1",
|
| 13 |
+
choices=["mamei16/chonky_distilbert_base_uncased_1.1", "mirth/chonky_distilbert_base_uncased_1", "mirth/chonky_modernbert_base_1",
|
| 14 |
+
"mirth/chonky_mmbert_small_multilingual_1"])
|
| 15 |
button = gr.Button("Run", variant="primary")
|
| 16 |
text = gr.Textbox(label='Input Text', max_length=50000)
|
| 17 |
gr.Markdown("## Result chunks:")
|