Diego Fernandez commited on
Commit
6848665
1 Parent(s): ba41db7

chore: fix examples

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -35,12 +35,14 @@ intput_components = [
35
 
36
  output_components = "playablevideo"
37
 
38
- # example_list = [["examples/" + example] for example in os.listdir("examples")]
39
 
40
  iface = gr.Interface(
41
  fn=inference,
42
  inputs=intput_components,
43
  outputs=output_components,
 
 
44
  )
45
 
46
  iface.launch()
 
35
 
36
  output_components = "playablevideo"
37
 
38
+ example_list = [["examples/" + example] for example in os.listdir("examples")]
39
 
40
  iface = gr.Interface(
41
  fn=inference,
42
  inputs=intput_components,
43
  outputs=output_components,
44
+ examples=example_list,
45
+ cache_examples=False
46
  )
47
 
48
  iface.launch()