hellokitty commited on
Commit
35e25fe
·
1 Parent(s): f0c4d7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -19,8 +19,6 @@ def predict(image,max_length=64, num_beams=4):
19
  caption_text = clean_text(tokenizer.decode(caption_ids))
20
  return caption_text
21
 
22
- def set_example_image(example: list) -> dict:
23
- return gr.Image.update(value=example[0])
24
  css = '''
25
  h1#title {
26
  text-align: center;
 
19
  caption_text = clean_text(tokenizer.decode(caption_ids))
20
  return caption_text
21
 
 
 
22
  css = '''
23
  h1#title {
24
  text-align: center;