blumenstiel commited on
Commit
1350d30
Β·
1 Parent(s): dc1e233

Rename subtitle and removed image labels

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -226,7 +226,7 @@ Some example images are provided at the end of this page.
226
  with gr.Row():
227
  gr.Markdown(value='## Original images')
228
  gr.Markdown(value='## Masked images')
229
- gr.Markdown(value='## Visible and reconstructed images')
230
 
231
  original = []
232
  masked = []
@@ -235,12 +235,12 @@ Some example images are provided at the end of this page.
235
  for t in range(4):
236
  timestamps.append(gr.Column(visible=t == 0))
237
  with timestamps[t]:
 
 
238
  with gr.Row():
239
- gr.Markdown(value=f"Timestamp {t+1}")
240
- with gr.Row():
241
- original.append(gr.Image(image_mode='RGB'))
242
- masked.append(gr.Image(image_mode='RGB'))
243
- predicted.append(gr.Image(image_mode='RGB'))
244
 
245
  btn.click(fn=run_inference,
246
  inputs=inp_files,
 
226
  with gr.Row():
227
  gr.Markdown(value='## Original images')
228
  gr.Markdown(value='## Masked images')
229
+ gr.Markdown(value='## Reconstructed images (with unmasked patches)')
230
 
231
  original = []
232
  masked = []
 
235
  for t in range(4):
236
  timestamps.append(gr.Column(visible=t == 0))
237
  with timestamps[t]:
238
+ #with gr.Row():
239
+ # gr.Markdown(value=f"Timestamp {t+1}")
240
  with gr.Row():
241
+ original.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
242
+ masked.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
243
+ predicted.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
 
 
244
 
245
  btn.click(fn=run_inference,
246
  inputs=inp_files,