Jensen-holm commited on
Commit
c7bede3
·
1 Parent(s): 73bed59

setting cache_examples='lazy' because it took for ever to build

Browse files
app.py CHANGED
@@ -45,6 +45,7 @@ interface = gr.Interface(
45
  inputs=[gr.Image(), gr.Slider(minimum=20, maximum=500)],
46
  outputs=gr.Plot(),
47
  examples=[[os.path.join("examples", image), 100] for image in os.listdir("examples")],
 
48
  )
49
 
50
 
 
45
  inputs=[gr.Image(), gr.Slider(minimum=20, maximum=500)],
46
  outputs=gr.Plot(),
47
  examples=[[os.path.join("examples", image), 100] for image in os.listdir("examples")],
48
+ cache_examples="lazy",
49
  )
50
 
51
 
examples/ex2.webp DELETED
Binary file (475 kB)
 
examples/ex4.webp DELETED
Binary file (626 kB)
 
gradio_cached_examples/15/indices.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 0
2
+ 2
3
+ 4
gradio_cached_examples/15/log.csv ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ output,flag,username,timestamp
2
+ {'__type__': 'update'},,,2024-04-08 23:01:53.272021
3
+ {'__type__': 'update'},,,2024-04-08 23:01:59.333244
4
+ {'__type__': 'update'},,,2024-04-08 23:02:04.851600