updares
Browse files- Dockerfile +1 -1
- app.py → main.py +0 -0
- requirements.txt +2 -1
Dockerfile
CHANGED
@@ -22,4 +22,4 @@ RUN apt update && apt install -y ffmpeg
|
|
22 |
|
23 |
# COPY --chown=user . $HOME/app
|
24 |
|
25 |
-
CMD ["uvicorn", "
|
|
|
22 |
|
23 |
# COPY --chown=user . $HOME/app
|
24 |
|
25 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
app.py → main.py
RENAMED
File without changes
|
requirements.txt
CHANGED
@@ -4,4 +4,5 @@ uvicorn[standard]==0.17.*
|
|
4 |
sentencepiece==0.1.*
|
5 |
torch==1.11.*
|
6 |
transformers[vision]==4.*
|
7 |
-
python-multipart==0.0.6
|
|
|
|
4 |
sentencepiece==0.1.*
|
5 |
torch==1.11.*
|
6 |
transformers[vision]==4.*
|
7 |
+
python-multipart==0.0.6
|
8 |
+
timm
|