rynmurdock commited on
Commit
ca169c6
1 Parent(s): e6947db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.detach()}
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))