Spaces:
Sleeping
Sleeping
pydantic..
Browse files- Dockerfile +0 -6
- requirements.txt +2 -2
Dockerfile
CHANGED
|
@@ -13,11 +13,5 @@ RUN pip uninstall -y gradio gradio-client || true \
|
|
| 13 |
USER user
|
| 14 |
|
| 15 |
|
| 16 |
-
RUN python - <<EOF
|
| 17 |
-
import gradio
|
| 18 |
-
print("INSTALLED GRADIO:", gradio.__version__)
|
| 19 |
-
EOF
|
| 20 |
-
|
| 21 |
-
|
| 22 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 23 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 13 |
USER user
|
| 14 |
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 17 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 2 |
torch
|
| 3 |
peft
|
| 4 |
-
gradio
|
| 5 |
transformers
|
| 6 |
accelerate
|
| 7 |
fastapi
|
| 8 |
uvicorn
|
| 9 |
-
pydantic
|
|
|
|
| 1 |
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 2 |
torch
|
| 3 |
peft
|
| 4 |
+
gradio==4.44.1
|
| 5 |
transformers
|
| 6 |
accelerate
|
| 7 |
fastapi
|
| 8 |
uvicorn
|
| 9 |
+
pydantic==2.10.6
|