Spaces:
Sleeping
Sleeping
Update
Browse files- README.md +1 -1
- app.py +1 -1
- requirements.txt +4 -4
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🌖
|
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
python_version: 3.10.13
|
9 |
app_file: app.py
|
10 |
pinned: false
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.9.0
|
8 |
python_version: 3.10.13
|
9 |
app_file: app.py
|
10 |
pinned: false
|
app.py
CHANGED
@@ -163,7 +163,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
163 |
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
164 |
)
|
165 |
|
166 |
-
with gr.
|
167 |
image = gr.Image(type="pil")
|
168 |
with gr.Tabs():
|
169 |
with gr.Tab(label="Image Captioning"):
|
|
|
163 |
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
164 |
)
|
165 |
|
166 |
+
with gr.Group():
|
167 |
image = gr.Image(type="pil")
|
168 |
with gr.Tabs():
|
169 |
with gr.Tab(label="Image Captioning"):
|
requirements.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
accelerate==0.
|
2 |
bitsandbytes==0.41.1
|
3 |
-
gradio==
|
4 |
Pillow==10.1.0
|
5 |
scipy==1.11.2
|
6 |
-
spaces==0.
|
7 |
torch==2.0.0
|
8 |
torchvision==0.15.1
|
9 |
-
transformers==4.
|
|
|
1 |
+
accelerate==0.25.0
|
2 |
bitsandbytes==0.41.1
|
3 |
+
gradio==4.9.0
|
4 |
Pillow==10.1.0
|
5 |
scipy==1.11.2
|
6 |
+
spaces==0.18.0
|
7 |
torch==2.0.0
|
8 |
torchvision==0.15.1
|
9 |
+
transformers==4.36.0
|