Spaces:
Build error
Build error
| # Spacefile Docs: https://huggingface.co/docs/hub/spaces-config-reference | |
| image: python:3.11 | |
| sdk: docker | |
| python_version: "3.11" | |
| # Set up the environment | |
| run: | | |
| pip install -r requirements.txt | |
| chainlit run app.py --host 0.0.0.0 --port 7860 | |
| # Set environment variables | |
| env: | |
| PYTHONPATH: ${PYTHONPATH}:${SPACE_ID} | |
| HF_HUB_ENABLE_HF_TRANSFER: 1 | |
| CHAINLIT_SERVER_HOST: 0.0.0.0 | |
| CHAINLIT_SERVER_PORT: 7860 | |
| # Expose the port | |
| ports: | |
| - 7860 |