vietdata commited on
Commit
50e55f5
1 Parent(s): cf1ac3f

fix/readme

Browse files
Files changed (3) hide show
  1. Dockerfile +2 -2
  2. README.md +9 -1
  3. requirements.txt +8 -4
Dockerfile CHANGED
@@ -8,9 +8,9 @@ COPY . .
8
  WORKDIR /
9
 
10
  # Install requirements.txt
11
- RUN pip install --no-cache-dir --upgrade -r /requirements.txt
12
 
13
  # Start the FastAPI app on port 7860, the default port expected by Spaces
14
- CMD ["gunicorn", "writing_api:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "4", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8300", "--timeout", "60"]
15
 
16
  #gunicorn writing_api:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8300 --reload --preload --timeout 60
 
8
  WORKDIR /
9
 
10
  # Install requirements.txt
11
+ RUN pip install -r requirements.txt
12
 
13
  # Start the FastAPI app on port 7860, the default port expected by Spaces
14
+ CMD ["gunicorn", "app:app", "--workers", "4", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7860", "--timeout", "60"]
15
 
16
  #gunicorn writing_api:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8300 --reload --preload --timeout 60
README.md CHANGED
@@ -1 +1,9 @@
1
- # test_project_ielts
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: IELTS TRAINER
3
+ emoji: 📝
4
+ colorFrom: blue
5
+ colorTo: red
6
+ sdk: docker
7
+ app_file: app.py
8
+ pinned: false
9
+ ---
requirements.txt CHANGED
@@ -1,4 +1,8 @@
1
- langchain==0.1.13
2
- fastapi==0.110.0
3
- gunicorn==21.2.0
4
- passlib==1.7.4
 
 
 
 
 
1
+ fastapi
2
+ gunicorn
3
+ passlib
4
+ langchain
5
+ uvicorn
6
+ thefuzz
7
+ python-dotenv
8
+ httpx