Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update openrouter
Browse files- app_openrouter.py +1 -1
- pyproject.toml +1 -1
- requirements.txt +1 -1
app_openrouter.py
CHANGED
@@ -11,7 +11,7 @@ OPENROUTER_MODELS_DISPLAY = [k.replace("openrouter:", "") for k in OPENROUTER_MO
|
|
11 |
# Create and launch the interface using get_app utility
|
12 |
demo = get_app(
|
13 |
models=OPENROUTER_MODELS_FULL, # Use the full names with prefix
|
14 |
-
default_model=OPENROUTER_MODELS_FULL[
|
15 |
dropdown_label="Select OpenRouter Model",
|
16 |
choices=OPENROUTER_MODELS_DISPLAY, # Display names without prefix
|
17 |
fill_height=True,
|
|
|
11 |
# Create and launch the interface using get_app utility
|
12 |
demo = get_app(
|
13 |
models=OPENROUTER_MODELS_FULL, # Use the full names with prefix
|
14 |
+
default_model=OPENROUTER_MODELS_FULL[5],
|
15 |
dropdown_label="Select OpenRouter Model",
|
16 |
choices=OPENROUTER_MODELS_DISPLAY, # Display names without prefix
|
17 |
fill_height=True,
|
pyproject.toml
CHANGED
@@ -38,7 +38,7 @@ dependencies = [
|
|
38 |
"langchain>=0.3.14",
|
39 |
"chromadb>=0.5.23",
|
40 |
"openai>=1.55.0",
|
41 |
-
"ai-gradio[crewai,deepseek,gemini,groq,hyperbolic,openai,smolagents,transformers, langchain, mistral,minimax,nvidia, qwen]>=0.2.
|
42 |
]
|
43 |
|
44 |
[tool.uv.sources]
|
|
|
38 |
"langchain>=0.3.14",
|
39 |
"chromadb>=0.5.23",
|
40 |
"openai>=1.55.0",
|
41 |
+
"ai-gradio[crewai,deepseek,gemini,groq,hyperbolic,openai,smolagents,transformers, langchain, mistral,minimax,nvidia, qwen, openrouter]>=0.2.45",
|
42 |
]
|
43 |
|
44 |
[tool.uv.sources]
|
requirements.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
accelerate==1.2.1
|
4 |
# via ai-gradio
|
5 |
-
ai-gradio==0.2.
|
6 |
# via anychat (pyproject.toml)
|
7 |
aiofiles==23.2.1
|
8 |
# via gradio
|
|
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
accelerate==1.2.1
|
4 |
# via ai-gradio
|
5 |
+
ai-gradio==0.2.45
|
6 |
# via anychat (pyproject.toml)
|
7 |
aiofiles==23.2.1
|
8 |
# via gradio
|