Spaces:
Running
Running
feat: integrated Gradio + FastAPI on port 7860
Browse files- Dockerfile +1 -1
- requirements.txt +1 -0
Dockerfile
CHANGED
|
@@ -12,5 +12,5 @@ COPY . .
|
|
| 12 |
# HuggingFace Docker Spaces require port 7860
|
| 13 |
EXPOSE 7860
|
| 14 |
|
| 15 |
-
# Run the FastAPI server
|
| 16 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 12 |
# HuggingFace Docker Spaces require port 7860
|
| 13 |
EXPOSE 7860
|
| 14 |
|
| 15 |
+
# Run the FastAPI server which mounts Gradio
|
| 16 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
CHANGED
|
@@ -10,3 +10,4 @@ numpy
|
|
| 10 |
python-dotenv
|
| 11 |
pytest
|
| 12 |
gradio
|
|
|
|
|
|
| 10 |
python-dotenv
|
| 11 |
pytest
|
| 12 |
gradio
|
| 13 |
+
matplotlib
|