Spaces:
Sleeping
Sleeping
AndriiPets
commited on
Commit
·
579fc35
1
Parent(s):
dac2f9a
initial
Browse files- Dockerfile +1 -1
- app.py → main.py +0 -0
- requirements.txt +1 -0
Dockerfile
CHANGED
@@ -29,4 +29,4 @@ USER user
|
|
29 |
|
30 |
EXPOSE 7860
|
31 |
|
32 |
-
CMD ["app.
|
|
|
29 |
|
30 |
EXPOSE 7860
|
31 |
|
32 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
app.py → main.py
RENAMED
File without changes
|
requirements.txt
CHANGED
@@ -5,3 +5,4 @@ Requests==2.28.2
|
|
5 |
transformers==4.27.4
|
6 |
sacremoses==0.0.53
|
7 |
torch==2.0.0
|
|
|
|
5 |
transformers==4.27.4
|
6 |
sacremoses==0.0.53
|
7 |
torch==2.0.0
|
8 |
+
uvicorn[standard]==0.17.*
|