Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def next_image():
|
|
| 58 |
)
|
| 59 |
|
| 60 |
embs.append(pooled_embeds)
|
| 61 |
-
return image
|
| 62 |
else:
|
| 63 |
print('######### Roaming #########')
|
| 64 |
|
|
@@ -98,7 +98,7 @@ def next_image():
|
|
| 98 |
embs.append(im_emb)
|
| 99 |
|
| 100 |
torch.save(lin_class.coef_, f'./{start_time}.pt')
|
| 101 |
-
return image
|
| 102 |
|
| 103 |
|
| 104 |
|
|
|
|
| 58 |
)
|
| 59 |
|
| 60 |
embs.append(pooled_embeds)
|
| 61 |
+
return image
|
| 62 |
else:
|
| 63 |
print('######### Roaming #########')
|
| 64 |
|
|
|
|
| 98 |
embs.append(im_emb)
|
| 99 |
|
| 100 |
torch.save(lin_class.coef_, f'./{start_time}.pt')
|
| 101 |
+
return image
|
| 102 |
|
| 103 |
|
| 104 |
|