VictorSanh commited on
Commit
9668e16
1 Parent(s): 7f9fea1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -90,6 +90,7 @@ def main(_):
90
  image_list = gr.State([])
91
  gr.Markdown('# LVM Demo')
92
  gr.Markdown(f'Serving model: {FLAGS.checkpoint}')
 
93
  gr.Markdown('## Inputs')
94
  with gr.Row():
95
  upload_drag = gr.File(
@@ -217,6 +218,7 @@ def main(_):
217
  generate_btn: gr.update(interactive=True),
218
  }
219
 
 
220
  for group_name, group_images in example_groups.items():
221
  with gr.Row():
222
  with gr.Column(scale=3):
 
90
  image_list = gr.State([])
91
  gr.Markdown('# LVM Demo')
92
  gr.Markdown(f'Serving model: {FLAGS.checkpoint}')
93
+ gr.Markdown('**We recommend using the model by prompting it with few shots: describe the task with pairs of (x, y) inputs where x is the input image and y the "annotated" image. Alternatively, one can also input a sequence of continuous frames and let the model generate the next one. Please refer to the default examples below.**')
94
  gr.Markdown('## Inputs')
95
  with gr.Row():
96
  upload_drag = gr.File(
 
218
  generate_btn: gr.update(interactive=True),
219
  }
220
 
221
+ gr.Markdown('## Default examples')
222
  for group_name, group_images in example_groups.items():
223
  with gr.Row():
224
  with gr.Column(scale=3):