100xdiscovery / Spacefile
geeksiddhant's picture
Update API URL
595e8cd
raw
history blame contribute delete
369 Bytes
# Spacefile Docs: https://huggingface.co/docs/hub/spaces-config-reference
configuration:
hardware:
cpu: 2
memory: 16
services:
- name: fastapi
dist: python
port: 7860
command: uvicorn app.main:app --host 0.0.0.0 --port 7860 --root-path /api
- name: streamlit
dist: python
port: 8501
command: streamlit run app.py