Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add smolagents
Browse files- .gitignore +2 -0
- app.py +2 -0
- requirements.txt +6 -2
.gitignore
CHANGED
@@ -83,3 +83,5 @@ wheels/
|
|
83 |
*.egg-info/
|
84 |
.installed.cfg
|
85 |
*.egg
|
|
|
|
|
|
83 |
*.egg-info/
|
84 |
.installed.cfg
|
85 |
*.egg
|
86 |
+
|
87 |
+
.codegpt
|
app.py
CHANGED
@@ -29,11 +29,13 @@ from app_gemini_coder import demo as demo_gemini_coder
|
|
29 |
from app_gemini import demo as demo_gemini
|
30 |
from app_gemini_voice import demo as demo_gemini_voice
|
31 |
from app_hyperbolic_coder import demo as demo_hyperbolic_coder
|
|
|
32 |
from utils import get_app
|
33 |
|
34 |
# Create mapping of providers to their demos
|
35 |
PROVIDERS = {
|
36 |
"Gemini Coder": demo_gemini_coder,
|
|
|
37 |
"Hyperbolic Coder": demo_hyperbolic_coder,
|
38 |
"DeepSeek": demo_deepseek,
|
39 |
"OpenAI": demo_openai,
|
|
|
29 |
from app_gemini import demo as demo_gemini
|
30 |
from app_gemini_voice import demo as demo_gemini_voice
|
31 |
from app_hyperbolic_coder import demo as demo_hyperbolic_coder
|
32 |
+
from app_smolagents import demo as demo_smolagents
|
33 |
from utils import get_app
|
34 |
|
35 |
# Create mapping of providers to their demos
|
36 |
PROVIDERS = {
|
37 |
"Gemini Coder": demo_gemini_coder,
|
38 |
+
"SmolAgents": demo_smolagents,
|
39 |
"Hyperbolic Coder": demo_hyperbolic_coder,
|
40 |
"DeepSeek": demo_deepseek,
|
41 |
"OpenAI": demo_openai,
|
requirements.txt
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
aiofiles==23.2.1
|
4 |
# via gradio
|
5 |
aiohappyeyeballs==2.4.4
|
@@ -143,7 +149,6 @@ googleapis-common-protos==1.66.0
|
|
143 |
# grpcio-status
|
144 |
gradio-client==1.5.2
|
145 |
# via gradio
|
146 |
-
gradio-webrtc==0.0.23
|
147 |
# via anychat (pyproject.toml)
|
148 |
groq==0.12.0
|
149 |
# via groq-gradio
|
@@ -490,7 +495,6 @@ xai-gradio==0.0.2
|
|
490 |
# via anychat (pyproject.toml)
|
491 |
yarl==1.18.3
|
492 |
# via aiohttp
|
493 |
-
ai-gradio[deepseek,crewai,hyperbolic,openai,gemini]==0.2.0
|
494 |
crewai==0.86.0
|
495 |
instructor==1.3.3
|
496 |
crewai-tools>=0.17.0
|
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
+
# Pin gradio to a specific version that works with all packages
|
4 |
+
gradio==5.9.1
|
5 |
+
|
6 |
+
# Keep all existing dependencies but adjust their versions to work with gradio 5.5.0
|
7 |
+
ai-gradio[deepseek,crewai,hyperbolic,openai,gemini,smolagents]==0.2.1
|
8 |
+
gradio-webrtc[vad]==0.0.27
|
9 |
aiofiles==23.2.1
|
10 |
# via gradio
|
11 |
aiohappyeyeballs==2.4.4
|
|
|
149 |
# grpcio-status
|
150 |
gradio-client==1.5.2
|
151 |
# via gradio
|
|
|
152 |
# via anychat (pyproject.toml)
|
153 |
groq==0.12.0
|
154 |
# via groq-gradio
|
|
|
495 |
# via anychat (pyproject.toml)
|
496 |
yarl==1.18.3
|
497 |
# via aiohttp
|
|
|
498 |
crewai==0.86.0
|
499 |
instructor==1.3.3
|
500 |
crewai-tools>=0.17.0
|