Spaces:
Running
Running
NaveenKumar Namachivayam commited on
Commit ·
45b74e5
1
Parent(s): 6836cad
Use Gradio 3.50.0 (no oauth dependency) without custom Dockerfile
Browse files- .DS_Store +0 -0
- .commandcode/taste/taste.md +4 -0
- Dockerfile +0 -30
- requirements.txt +1 -0
.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
.commandcode/taste/taste.md
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Taste (Continuously Learned by [CommandCode][cmd])
|
| 2 |
+
|
| 3 |
+
[cmd]: https://commandcode.ai/
|
| 4 |
+
|
Dockerfile
DELETED
|
@@ -1,30 +0,0 @@
|
|
| 1 |
-
FROM python:3.12-slim
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
RUN apt-get update && apt-get install -y \
|
| 6 |
-
git \
|
| 7 |
-
git-lfs \
|
| 8 |
-
ffmpeg \
|
| 9 |
-
libsm6 \
|
| 10 |
-
libxext6 \
|
| 11 |
-
cmake \
|
| 12 |
-
rsync \
|
| 13 |
-
libgl1 \
|
| 14 |
-
&& rm -rf /var/lib/apt/lists/* \
|
| 15 |
-
&& git lfs install
|
| 16 |
-
|
| 17 |
-
RUN pip install --no-cache-dir pip -U
|
| 18 |
-
|
| 19 |
-
# Install exact compatible versions (Gradio 3.x has no oauth dependency)
|
| 20 |
-
RUN pip install --no-cache-dir \
|
| 21 |
-
torch==2.1.0 \
|
| 22 |
-
gradio==3.50.0 \
|
| 23 |
-
uvicorn==0.30.0 \
|
| 24 |
-
websockets==12.0
|
| 25 |
-
|
| 26 |
-
COPY . /app
|
| 27 |
-
|
| 28 |
-
RUN git lfs pull
|
| 29 |
-
|
| 30 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
torch>=2.0.0
|
|
|
|
|
|
| 1 |
torch>=2.0.0
|
| 2 |
+
gradio==3.50.0
|