Anurag137 commited on
Commit
9b06e89
·
1 Parent(s): 7a83f9e

feat: integrated Gradio + FastAPI on port 7860

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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