Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ def next_image():
|
|
| 94 |
|
| 95 |
output = replicate.run(
|
| 96 |
"rynmurdock/zahir:49ebb1916c4baae35884ebfa16b092cf45d086c1913b53f62bb07d575cdbe683",
|
| 97 |
-
input={"prompt": prompt, 'im_emb': im_emb.
|
| 98 |
)
|
| 99 |
response = requests.get(output['file1'])
|
| 100 |
image = Image.open(BytesIO(response.content))
|
|
|
|
| 94 |
|
| 95 |
output = replicate.run(
|
| 96 |
"rynmurdock/zahir:49ebb1916c4baae35884ebfa16b092cf45d086c1913b53f62bb07d575cdbe683",
|
| 97 |
+
input={"prompt": prompt, 'im_emb': im_emb.tolist()}
|
| 98 |
)
|
| 99 |
response = requests.get(output['file1'])
|
| 100 |
image = Image.open(BytesIO(response.content))
|