Burman-AI commited on
Commit
20840ca
·
verified ·
1 Parent(s): 258943d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,10 +13,10 @@ def predict(image_path, clothing_prompt):
13
  if modified_image:
14
  return modified_image
15
  else:
16
- return "Failed to change clothing. Please check the image and prompt."
17
  except Exception as e:
18
  return f"Error: {e}"
19
-
20
  # Create the Gradio interface
21
  iface = gr.Interface(
22
  fn=predict,
 
13
  if modified_image:
14
  return modified_image
15
  else:
16
+ return "Failed to change clothing. Please check the image and prompt."
17
  except Exception as e:
18
  return f"Error: {e}"
19
+
20
  # Create the Gradio interface
21
  iface = gr.Interface(
22
  fn=predict,