Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -365,7 +365,6 @@ def next_image(calibrate_prompts, user_id):
|
|
| 365 |
|
| 366 |
done_init = False
|
| 367 |
|
| 368 |
-
@spaces.GPU()
|
| 369 |
def start(_, calibrate_prompts, user_id, request: gr.Request):
|
| 370 |
global done_init
|
| 371 |
global prevs_df
|
|
@@ -374,9 +373,9 @@ def start(_, calibrate_prompts, user_id, request: gr.Request):
|
|
| 374 |
# prep our calibration videos
|
| 375 |
for im in [
|
| 376 |
'./first.mp4',
|
| 377 |
-
'./second.mp4',
|
| 378 |
-
'./third.mp4',
|
| 379 |
-
'./fourth.mp4',
|
| 380 |
# './fifth.mp4',
|
| 381 |
# './sixth.mp4',
|
| 382 |
# './seventh.mp4',
|
|
@@ -501,9 +500,9 @@ Explore the latent space without text prompts based on your preferences. Learn m
|
|
| 501 |
# calibration videos -- this is a misnomer now :D
|
| 502 |
calibrate_prompts = gr.State([
|
| 503 |
'./first.mp4',
|
| 504 |
-
'./second.mp4',
|
| 505 |
-
'./third.mp4',
|
| 506 |
-
'./fourth.mp4',
|
| 507 |
# './fifth.mp4',
|
| 508 |
# './sixth.mp4',
|
| 509 |
])
|
|
|
|
| 365 |
|
| 366 |
done_init = False
|
| 367 |
|
|
|
|
| 368 |
def start(_, calibrate_prompts, user_id, request: gr.Request):
|
| 369 |
global done_init
|
| 370 |
global prevs_df
|
|
|
|
| 373 |
# prep our calibration videos
|
| 374 |
for im in [
|
| 375 |
'./first.mp4',
|
| 376 |
+
# './second.mp4',
|
| 377 |
+
# './third.mp4',
|
| 378 |
+
# './fourth.mp4',
|
| 379 |
# './fifth.mp4',
|
| 380 |
# './sixth.mp4',
|
| 381 |
# './seventh.mp4',
|
|
|
|
| 500 |
# calibration videos -- this is a misnomer now :D
|
| 501 |
calibrate_prompts = gr.State([
|
| 502 |
'./first.mp4',
|
| 503 |
+
# './second.mp4',
|
| 504 |
+
# './third.mp4',
|
| 505 |
+
# './fourth.mp4',
|
| 506 |
# './fifth.mp4',
|
| 507 |
# './sixth.mp4',
|
| 508 |
])
|