Spaces:
Runtime error
Runtime error
Commit
·
f5c7e7c
1
Parent(s):
7b3b160
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()
|