warhawkmonk commited on
Commit
0ec43f0
·
verified ·
1 Parent(s): 6b1c4dc

Update app.py

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