Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,8 +27,8 @@ def load_model(model_drop):
|
|
| 27 |
|
| 28 |
def run_dif(prompt,im_path,model_drop,cnt,strength,guidance,infer):
|
| 29 |
out_box=[]
|
| 30 |
-
for i in range(cnt):
|
| 31 |
-
yield out_box,f"Working on {i} of {cnt}"
|
| 32 |
url = base_url+im_path
|
| 33 |
print(url)
|
| 34 |
init_image=load_image(url)
|
|
|
|
| 27 |
|
| 28 |
def run_dif(prompt,im_path,model_drop,cnt,strength,guidance,infer):
|
| 29 |
out_box=[]
|
| 30 |
+
for i in range(int(cnt)):
|
| 31 |
+
yield out_box,f"Working on {i} of {int(cnt)}"
|
| 32 |
url = base_url+im_path
|
| 33 |
print(url)
|
| 34 |
init_image=load_image(url)
|