Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -332,7 +332,7 @@ def refer_api(prompt):
|
|
332 |
|
333 |
def model_out_put(init_image,mask_image,prompt,negative_prompt):
|
334 |
if np.array(mask_image).all():
|
335 |
-
l,m=np.array(
|
336 |
image =refer_api(prompt).resize((l,m))
|
337 |
return image
|
338 |
API_URL = "https://8417-201-238-124-65.ngrok-free.app/api/llm-response"
|
|
|
332 |
|
333 |
def model_out_put(init_image,mask_image,prompt,negative_prompt):
|
334 |
if np.array(mask_image).all():
|
335 |
+
l,m=np.array(mask_image).shape
|
336 |
image =refer_api(prompt).resize((l,m))
|
337 |
return image
|
338 |
API_URL = "https://8417-201-238-124-65.ngrok-free.app/api/llm-response"
|