John6666 commited on
Commit
bfe5ff9
1 Parent(s): e50dff3

Update app.py

Browse files

Earlier this month? there was an abrupt change in the behavior related to Examples. If this doesn't work, comment out the entire Examples or make it just a string and it will work.

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,7 +78,8 @@ For more information, visit the original [repository](https://github.com/PixArt-
78
  ["Happy dreamy owl monster sitting on a tree branch, colorful glittering particles, forest background, detailed feathers.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
79
  ["Astronaut on Mars During sunset.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024]
80
  ],
81
- cache_examples=True,
 
82
  examples_per_page=6,
83
  )
84
 
 
78
  ["Happy dreamy owl monster sitting on a tree branch, colorful glittering particles, forest background, detailed feathers.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
79
  ["Astronaut on Mars During sunset.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024]
80
  ],
81
+ #cache_examples=True,
82
+ cache_examples="lazy", # or False
83
  examples_per_page=6,
84
  )
85