Spaces:
Running
Running
# Start Ollama in the background | |
ollama serve & | |
# Wait for Ollama to start | |
sleep 5 | |
# | |
ollama pull mxbai-embed-large | |
# Pull and run <YOUR_MODEL_NAME> | |
ollama pull qwen:1.8b | |
# | |
fastapi run /code/app/main.py --port 7860 | |