Spaces:
Sleeping
Sleeping
marme
commited on
Commit
·
9247534
1
Parent(s):
d5c70ed
add mamei16/chonky_distilbert-base-multilingual-cased
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ def run(text, model_id):
|
|
| 9 |
|
| 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/
|
| 13 |
-
choices=["mamei16/chonky_distilbert_base_uncased_1.1", "mamei16/chonky_mdistilbert-base-english-cased",
|
| 14 |
"mirth/chonky_distilbert_base_uncased_1", "mirth/chonky_modernbert_base_1"])
|
| 15 |
button = gr.Button("Run", variant="primary")
|
| 16 |
text = gr.Textbox(label='Input Text', max_length=50000)
|
|
|
|
| 9 |
|
| 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-multilingual-cased",
|
| 13 |
+
choices=["mamei16/chonky_distilbert-base-multilingual-cased", "mamei16/chonky_distilbert_base_uncased_1.1", "mamei16/chonky_mdistilbert-base-english-cased",
|
| 14 |
"mirth/chonky_distilbert_base_uncased_1", "mirth/chonky_modernbert_base_1"])
|
| 15 |
button = gr.Button("Run", variant="primary")
|
| 16 |
text = gr.Textbox(label='Input Text', max_length=50000)
|