Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
refactor: Update model selection to use MODELS dictionary keys
Browse files
app.py
CHANGED
@@ -301,11 +301,8 @@ with gr.Blocks() as demo:
|
|
301 |
btn = gr.Button("Run")
|
302 |
with gr.Accordion("Parameters", open=False):
|
303 |
model_choice = gr.Radio(
|
304 |
-
choices=
|
305 |
-
|
306 |
-
"deepseek-ai/DeepSeek-V3",
|
307 |
-
],
|
308 |
-
value="deepseek-ai/DeepSeek-V3",
|
309 |
label="Model",
|
310 |
)
|
311 |
top_p = gr.Slider(
|
|
|
301 |
btn = gr.Button("Run")
|
302 |
with gr.Accordion("Parameters", open=False):
|
303 |
model_choice = gr.Radio(
|
304 |
+
choices=list(MODELS.keys()),
|
305 |
+
value=list(MODELS.keys())[0],
|
|
|
|
|
|
|
306 |
label="Model",
|
307 |
)
|
308 |
top_p = gr.Slider(
|