Spaces:
Running
on
L40S
Running
on
L40S
hainazhu
commited on
Commit
·
855f592
1
Parent(s):
258fd02
Add gradio
Browse files- Dockerfile +1 -1
- requirements.txt +1 -0
Dockerfile
CHANGED
@@ -10,4 +10,4 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
COPY --chown=user . /app
|
13 |
-
CMD ["
|
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
11 |
|
12 |
COPY --chown=user . /app
|
13 |
+
CMD ["python3", "app.py","--server-port", "7860"]
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
fastapi
|
2 |
uvicorn[standard]
|
|
|
|
1 |
fastapi
|
2 |
uvicorn[standard]
|
3 |
+
gradio
|