Spaces:
Sleeping
Sleeping
Commit
·
4b129cb
1
Parent(s):
13b6b0d
chore: downgrade gradio
Browse files- Dockerfile +2 -2
- requirements.txt +1 -1
- src/app.py +1 -1
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# ベースイメージ
|
2 |
-
FROM python:3.10
|
3 |
|
4 |
# 作æ¥ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’è¨å®š
|
5 |
WORKDIR /home/user/app
|
@@ -16,4 +16,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
16 |
WORKDIR /home/user/app/src
|
17 |
|
18 |
# アプリを起動
|
19 |
-
CMD ["
|
|
|
1 |
# ベースイメージ
|
2 |
+
FROM python:3.10-slim
|
3 |
|
4 |
# 作æ¥ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’è¨å®š
|
5 |
WORKDIR /home/user/app
|
|
|
16 |
WORKDIR /home/user/app/src
|
17 |
|
18 |
# アプリを起動
|
19 |
+
CMD ["gradio", "app.py"]
|
requirements.txt
CHANGED
@@ -9,4 +9,4 @@ protobuf
|
|
9 |
pyparsing
|
10 |
PyYAML
|
11 |
tqdm
|
12 |
-
gradio
|
|
|
9 |
pyparsing
|
10 |
PyYAML
|
11 |
tqdm
|
12 |
+
gradio==4.44.1
|
src/app.py
CHANGED
@@ -229,7 +229,7 @@ demo = gr.Interface(
|
|
229 |
examples=image_path,
|
230 |
article=article,
|
231 |
cache_examples=False,
|
232 |
-
flagging_mode="never"
|
233 |
)
|
234 |
|
235 |
demo.launch(share=False, server_name="0.0.0.0")
|
|
|
229 |
examples=image_path,
|
230 |
article=article,
|
231 |
cache_examples=False,
|
232 |
+
# flagging_mode="never"
|
233 |
)
|
234 |
|
235 |
demo.launch(share=False, server_name="0.0.0.0")
|