ryaalbr commited on
Commit
28af614
1 Parent(s): 0671f1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -260,10 +260,10 @@ with gr.Blocks() as demo:
260
  with gr.Tab("Captioning"):
261
  instructions = """## Instructions:
262
  1. Click **Get Random Image** to grab a random image from dataset
263
- 1. Click **Create Caption** to generate a caption for the image
264
  1. Different models can be selected:
265
- * **COCO** generally produces more straight-forward captions, but it is a smaller dataset and therefore struggles to recognize certain objects
266
- * **Conceptual Captions** is a much larger dataset but sometimes produces results that resemble social media posts
267
  """
268
  gr.Markdown(instructions)
269
  with gr.Row():
@@ -291,7 +291,7 @@ with gr.Blocks() as demo:
291
  "someone holding pink flowers",
292
  "red fruit in a person's hands",
293
  "an aerial view of forest",
294
- "a waterfall with a rainbow"
295
  ], inputs=desc)
296
  search_btn = gr.Button("Find Images").style(full_width=False)
297
  gallery = gr.Gallery(show_label=False).style(grid=(2,2,3,5))
 
260
  with gr.Tab("Captioning"):
261
  instructions = """## Instructions:
262
  1. Click **Get Random Image** to grab a random image from dataset
263
+ 1. Click **Create Caption** to generate a caption for the image (usually takes 5-10s but could be over 60s)
264
  1. Different models can be selected:
265
+ * **COCO** generally produces more straight-forward captions, but it is a smaller dataset and therefore struggles to recognize certain objects
266
+ * **Conceptual Captions** is a much larger dataset but sometimes produces results that resemble social media posts rather than captions
267
  """
268
  gr.Markdown(instructions)
269
  with gr.Row():
 
291
  "someone holding pink flowers",
292
  "red fruit in a person's hands",
293
  "an aerial view of forest",
294
+ "a waterfall in Iceland with a rainbow"
295
  ], inputs=desc)
296
  search_btn = gr.Button("Find Images").style(full_width=False)
297
  gallery = gr.Gallery(show_label=False).style(grid=(2,2,3,5))