simonhermansson commited on
Commit
e1e20e4
·
1 Parent(s): 491a9c9

Update caption bankds and remove webcam

Browse files
app.py CHANGED
@@ -130,7 +130,7 @@ with gr.Blocks(
130
  ) as demo:
131
  with gr.Tab("Captioning and Prediction"):
132
  with gr.Row(variant="compact"):
133
- input_img = gr.Image(type="pil", show_label=False, source="webcam")
134
  with gr.Column(min_width="80"):
135
  btn_generate_caption = gr.Button("Create Description").style(size="sm")
136
  generated_caption = gr.Textbox(label="Description", show_label=False)
 
130
  ) as demo:
131
  with gr.Tab("Captioning and Prediction"):
132
  with gr.Row(variant="compact"):
133
+ input_img = gr.Image(type="pil", show_label=False)
134
  with gr.Column(min_width="80"):
135
  btn_generate_caption = gr.Button("Create Description").style(size="sm")
136
  generated_caption = gr.Textbox(label="Description", show_label=False)
files/brands.parquet CHANGED
Binary files a/files/brands.parquet and b/files/brands.parquet differ
 
files/caption_bank.index CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76cdac7f25a8af7d8b7fafca0e1ca2015fffe752d7be4a96da2d54a09d646d20
3
- size 121487426
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef4456ebc748619d895ee60baefe153a88ed49048d94ef78a02b99fae8325a03
3
+ size 109338706
files/captions.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9f1c42d6c4918c9b30964428abd90e7279571541b94c1baa7f81f07b428b270
3
- size 564491
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e76f32cd858c0e6e2e6387db1be820412d40def606c0c6192de61e74f58531fc
3
+ size 511362