Upload 3 files
Browse files- .gitattributes +1 -0
- Dockerfile +15 -0
- modelscope_studio-0.2.1-py3-none-any.whl +3 -0
- requirements.txt +2 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
modelscope_studio-0.2.1-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
|
3 |
+
WORKDIR /code
|
4 |
+
|
5 |
+
COPY --link --chown=1000 . .
|
6 |
+
|
7 |
+
RUN mkdir -p /tmp/cache/
|
8 |
+
RUN chmod a+rwx -R /tmp/cache/
|
9 |
+
ENV TRANSFORMERS_CACHE=/tmp/cache/
|
10 |
+
|
11 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
+
|
13 |
+
ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
|
14 |
+
|
15 |
+
CMD ["python", "app.py"]
|
modelscope_studio-0.2.1-py3-none-any.whl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a071c4acc80b41643163fbc5b41c966093cf5f746a203df703c068d6bf9922a0
|
3 |
+
size 11001115
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
modelscope_studio
|
2 |
+
modelscope_studio-0.2.1-py3-none-any.whl
|