Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,7 @@ dtype = torch.bfloat16
|
|
| 13 |
|
| 14 |
import matplotlib.pyplot as plt
|
| 15 |
import matplotlib
|
|
|
|
| 16 |
|
| 17 |
from sklearn.linear_model import Ridge
|
| 18 |
|
|
@@ -466,6 +467,7 @@ Explore the latent space without text prompts based on your preferences. Learn m
|
|
| 466 |
scheduler = BackgroundScheduler()
|
| 467 |
scheduler.add_job(func=background_next_image, trigger="interval", seconds=1)
|
| 468 |
scheduler.start()
|
|
|
|
| 469 |
|
| 470 |
|
| 471 |
def encode_space(x):
|
|
|
|
| 13 |
|
| 14 |
import matplotlib.pyplot as plt
|
| 15 |
import matplotlib
|
| 16 |
+
import logging
|
| 17 |
|
| 18 |
from sklearn.linear_model import Ridge
|
| 19 |
|
|
|
|
| 467 |
scheduler = BackgroundScheduler()
|
| 468 |
scheduler.add_job(func=background_next_image, trigger="interval", seconds=1)
|
| 469 |
scheduler.start()
|
| 470 |
+
logging.getLogger('apscheduler.executors.default').propagate = False
|
| 471 |
|
| 472 |
|
| 473 |
def encode_space(x):
|