Spaces:
Sleeping
Sleeping
fix/readme
Browse files- Dockerfile +2 -2
- README.md +9 -1
- requirements.txt +8 -4
Dockerfile
CHANGED
@@ -8,9 +8,9 @@ COPY . .
|
|
8 |
WORKDIR /
|
9 |
|
10 |
# Install requirements.txt
|
11 |
-
RUN pip install
|
12 |
|
13 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
14 |
-
CMD ["gunicorn", "
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
fastapi
|
2 |
+
gunicorn
|
3 |
+
passlib
|
4 |
+
langchain
|
5 |
+
uvicorn
|
6 |
+
thefuzz
|
7 |
+
python-dotenv
|
8 |
+
httpx
|