zuri-technical commited on
Commit
d5758be
·
verified ·
1 Parent(s): 1281704

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -64,12 +64,11 @@ def generate_outfit(model_image, garment_image, n_samples=1, n_steps=20, image_s
64
  # Create Gradio interface
65
  with gr.Blocks() as demo:
66
  gr.Markdown("""
67
- ## Outfit Diffusion - Try On Virtual Outfits
68
 
69
- ⚠️ **Note**: This demo uses free GPU quota which is limited. To avoid errors:
70
- - Use lower values for Steps (10-15) and Scale (1-2)
71
- - Wait between attempts if you get a quota error
72
- - Sign up for a Hugging Face account for more quota
73
 
74
 
75
  """)
@@ -148,4 +147,4 @@ with gr.Blocks() as demo:
148
  )
149
 
150
  # Launch the app
151
- demo.launch()
 
64
  # Create Gradio interface
65
  with gr.Blocks() as demo:
66
  gr.Markdown("""
67
+ ## Zuri Africa - Try On Virtual Outfits
68
 
69
+ ⚠️ **Note**: You need to select or upload your model:
70
+ - Followed by selecting or uploading the garment you want to try-on.
71
+ - Next click Try Outfit button and wait
 
72
 
73
 
74
  """)
 
147
  )
148
 
149
  # Launch the app
150
+ demo.launch(show_error=True)