Spaces:
Runtime error
Runtime error
Zwea Htet
commited on
Commit
•
a9d51e0
1
Parent(s):
4a00bee
fixed Dockerfile config
Browse files- Dockerfile +1 -1
- requirements.txt +1 -2
Dockerfile
CHANGED
@@ -26,5 +26,5 @@ WORKDIR $HOME/app
|
|
26 |
# Set the working directory to the user's home directory
|
27 |
COPY --chown=user . $HOME/app
|
28 |
|
29 |
-
CMD [ "
|
30 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
26 |
# Set the working directory to the user's home directory
|
27 |
COPY --chown=user . $HOME/app
|
28 |
|
29 |
+
CMD [ "streamlit" , "run", "app.py"]
|
30 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
CHANGED
@@ -9,5 +9,4 @@ faiss-cpu
|
|
9 |
python-dotenv
|
10 |
streamlit>=1.24.0
|
11 |
huggingface_hub
|
12 |
-
xformers
|
13 |
-
gunicorn
|
|
|
9 |
python-dotenv
|
10 |
streamlit>=1.24.0
|
11 |
huggingface_hub
|
12 |
+
xformers
|
|