Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,10 +26,10 @@ models_og=[
|
|
26 |
|
27 |
]
|
28 |
models=[
|
29 |
-
"facebook/MobileLLM-1B",
|
30 |
"facebook/MobileLLM-125M",
|
|
|
31 |
"facebook/MobileLLM-600M",
|
32 |
-
"facebook/MobileLLM-
|
33 |
]
|
34 |
client_z=[]
|
35 |
|
@@ -272,7 +272,7 @@ with gr.Blocks() as app:
|
|
272 |
with gr.Group():
|
273 |
stop_btn=gr.Button("Stop")
|
274 |
clear_btn=gr.Button("Clear")
|
275 |
-
client_choice=gr.Dropdown(label="Models",type='index',
|
276 |
add_model=gr.Textbox(label="New Model")
|
277 |
add_btn=gr.Button("Add Model")
|
278 |
with gr.Column(scale=1):
|
|
|
26 |
|
27 |
]
|
28 |
models=[
|
|
|
29 |
"facebook/MobileLLM-125M",
|
30 |
+
"facebook/MobileLLM-350M",
|
31 |
"facebook/MobileLLM-600M",
|
32 |
+
"facebook/MobileLLM-1B",
|
33 |
]
|
34 |
client_z=[]
|
35 |
|
|
|
272 |
with gr.Group():
|
273 |
stop_btn=gr.Button("Stop")
|
274 |
clear_btn=gr.Button("Clear")
|
275 |
+
client_choice=gr.Dropdown(label="Models",type='index', choices=[c for c in models],max_choices=4,multiselect=True,interactive=True)
|
276 |
add_model=gr.Textbox(label="New Model")
|
277 |
add_btn=gr.Button("Add Model")
|
278 |
with gr.Column(scale=1):
|