Spaces:
Sleeping
Sleeping
rynmurdock
commited on
Commit
•
baada04
1
Parent(s):
5d2597e
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def next_image(embs, ys, calibrate_prompts):
|
|
44 |
image = Image.open(BytesIO(response.content))
|
45 |
|
46 |
embs.append(torch.tensor([float(i) for i in urlopen(output['file2']).read().decode('utf-8').split(', ')]).unsqueeze(0))
|
47 |
-
return image, embs, ys
|
48 |
else:
|
49 |
print('######### Roaming #########')
|
50 |
|
|
|
44 |
image = Image.open(BytesIO(response.content))
|
45 |
|
46 |
embs.append(torch.tensor([float(i) for i in urlopen(output['file2']).read().decode('utf-8').split(', ')]).unsqueeze(0))
|
47 |
+
return image, embs, ys, calibrate_prompts
|
48 |
else:
|
49 |
print('######### Roaming #########')
|
50 |
|