Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,6 +17,11 @@ COHERE_MODELS = [
|
|
| 17 |
"command-nightly"
|
| 18 |
]
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
def update_model_choices(provider):
|
| 21 |
"""Update model dropdown choices based on selected provider"""
|
| 22 |
if provider == "Cohere":
|
|
@@ -124,7 +129,7 @@ with gr.Blocks() as demo:
|
|
| 124 |
with gr.Column(scale=3):
|
| 125 |
provider = gr.Dropdown(
|
| 126 |
info="Provider",
|
| 127 |
-
choices=["Cohere", "
|
| 128 |
value="Cohere",
|
| 129 |
elem_id="provider_dropdown",
|
| 130 |
interactive=True,
|
|
|
|
| 17 |
"command-nightly"
|
| 18 |
]
|
| 19 |
|
| 20 |
+
COHERE_LABS_MODELS = [
|
| 21 |
+
"command-a-translate-08-2025",
|
| 22 |
+
"command-a-reasoning-08-2025"
|
| 23 |
+
]
|
| 24 |
+
|
| 25 |
def update_model_choices(provider):
|
| 26 |
"""Update model dropdown choices based on selected provider"""
|
| 27 |
if provider == "Cohere":
|
|
|
|
| 129 |
with gr.Column(scale=3):
|
| 130 |
provider = gr.Dropdown(
|
| 131 |
info="Provider",
|
| 132 |
+
choices=["Cohere", "Cohere Labs"],
|
| 133 |
value="Cohere",
|
| 134 |
elem_id="provider_dropdown",
|
| 135 |
interactive=True,
|