Spaces:
Sleeping
Sleeping
rynmurdock
commited on
Commit
•
02f5544
1
Parent(s):
e9eec7b
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ import time
|
|
13 |
|
14 |
import replicate
|
15 |
import torch
|
16 |
-
import pickle
|
17 |
from urllib.request import urlopen
|
18 |
|
19 |
from PIL import Image
|
@@ -53,7 +52,7 @@ def next_image():
|
|
53 |
print(prompt)
|
54 |
|
55 |
output = replicate.run(
|
56 |
-
"rynmurdock/zahir:
|
57 |
input={"prompt": prompt,}
|
58 |
)
|
59 |
response = requests.get(output['file1'])
|
@@ -97,7 +96,7 @@ def next_image():
|
|
97 |
output.write(im_emb_st)
|
98 |
|
99 |
output = replicate.run(
|
100 |
-
"rynmurdock/zahir:
|
101 |
input={"prompt": prompt, 'im_emb': output}
|
102 |
)
|
103 |
response = requests.get(output['file1'])
|
|
|
13 |
|
14 |
import replicate
|
15 |
import torch
|
|
|
16 |
from urllib.request import urlopen
|
17 |
|
18 |
from PIL import Image
|
|
|
52 |
print(prompt)
|
53 |
|
54 |
output = replicate.run(
|
55 |
+
"rynmurdock/zahir:210b8cdb9aa8ac97325fd534db13ad1a2b3b1226ee2109a20952a810b94216b6",
|
56 |
input={"prompt": prompt,}
|
57 |
)
|
58 |
response = requests.get(output['file1'])
|
|
|
96 |
output.write(im_emb_st)
|
97 |
|
98 |
output = replicate.run(
|
99 |
+
"rynmurdock/zahir:210b8cdb9aa8ac97325fd534db13ad1a2b3b1226ee2109a20952a810b94216b6",
|
100 |
input={"prompt": prompt, 'im_emb': output}
|
101 |
)
|
102 |
response = requests.get(output['file1'])
|