hysts HF staff commited on
Commit
0ffc0ad
1 Parent(s): 2e0e3aa
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +1 -1
  3. requirements.txt +4 -4
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🌖
4
  colorFrom: blue
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 3.50.2
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.Box():
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.23.0
2
  bitsandbytes==0.41.1
3
- gradio==3.50.2
4
  Pillow==10.1.0
5
  scipy==1.11.2
6
- spaces==0.16.3
7
  torch==2.0.0
8
  torchvision==0.15.1
9
- transformers==4.34.1
 
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