Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
# Install order matters! | |
# Step 1: Core dependencies | |
python-dotenv | |
pydantic>=2.0.0 | |
typing-extensions | |
nest-asyncio | |
# Step 2: Install any-agent with OpenAI support | |
# Version 0.22+ required for any_agent.serving module | |
any-agent[openai]>=0.22.0 | |
# Step 3: Additional dependencies (if not pulled in by any-agent) | |
# These might already be installed by any-agent[openai] but we list them to be sure | |
openai>=1.0.0 | |
litellm>=1.0.0 | |
# Step 4: Gradio last (it has many dependencies) | |
gradio==4.36.0 | |
# Compatibility pins to satisfy transitive dependency constraints discovered during HF Spaces build | |
markupsafe==2.1.5 # gradio constraint (~=2.0) | |