Spaces:
Sleeping

blanchon commited on
Commit
6925657
·
1 Parent(s): 5fdc717

Showcase: skip rows whose output is not rendered yet

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -351,6 +351,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, title="O2LaF") as demo:
351
  "the other embodiment as a reference: O2LaF never sees it, only its first frame."
352
  )
353
  for src_name, ref_name, out_name, caption in SHOWCASE:
 
 
354
  gr.Markdown(f"**{caption}**")
355
  with gr.Row():
356
  gr.Video(ex(src_name), label="Source (actions read from here)")
 
351
  "the other embodiment as a reference: O2LaF never sees it, only its first frame."
352
  )
353
  for src_name, ref_name, out_name, caption in SHOWCASE:
354
+ if not (EXAMPLES_DIR / out_name).exists():
355
+ continue
356
  gr.Markdown(f"**{caption}**")
357
  with gr.Row():
358
  gr.Video(ex(src_name), label="Source (actions read from here)")