Spaces:
Sleeping
Sleeping
rynmurdock
commited on
Commit
•
595e8d4
1
Parent(s):
1a267a5
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
|
4 |
# TODO save & restart from (if it exists) dataframe parquet
|
|
|
5 |
import torch
|
6 |
|
7 |
# lol
|
@@ -292,6 +293,7 @@ def pluck_embs_ys(user_id):
|
|
292 |
def next_image(calibrate_prompts, user_id):
|
293 |
global glob_idx
|
294 |
glob_idx = glob_idx + 1
|
|
|
295 |
|
296 |
with torch.no_grad():
|
297 |
if len(calibrate_prompts) > 0:
|
|
|
2 |
|
3 |
|
4 |
# TODO save & restart from (if it exists) dataframe parquet
|
5 |
+
# TODO is spaces GPU blocking? Seems significantly slower while it's generating new in background
|
6 |
import torch
|
7 |
|
8 |
# lol
|
|
|
293 |
def next_image(calibrate_prompts, user_id):
|
294 |
global glob_idx
|
295 |
glob_idx = glob_idx + 1
|
296 |
+
print(prevs_df)
|
297 |
|
298 |
with torch.no_grad():
|
299 |
if len(calibrate_prompts) > 0:
|