Spaces:
Runtime error
Runtime error
rynmurdock
commited on
Commit
•
d72c326
1
Parent(s):
e6199ab
basically delirious lol
Browse files
app.py
CHANGED
@@ -480,9 +480,9 @@ Explore the latent space without text prompts based on your preferences. Learn m
|
|
480 |
log = logging.getLogger('log_here')
|
481 |
log.setLevel(logging.ERROR)
|
482 |
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
|
487 |
#thread = threading.Thread(target=background_next_image,)
|
488 |
#thread.start()
|
|
|
480 |
log = logging.getLogger('log_here')
|
481 |
log.setLevel(logging.ERROR)
|
482 |
|
483 |
+
scheduler = BackgroundScheduler()
|
484 |
+
scheduler.add_job(func=background_next_image, trigger="interval", seconds=.1)
|
485 |
+
scheduler.start()
|
486 |
|
487 |
#thread = threading.Thread(target=background_next_image,)
|
488 |
#thread.start()
|