dzmu commited on
Commit
7fbb944
Β·
verified Β·
1 Parent(s): 9bebedc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -127,12 +127,17 @@ button:hover { background-color: #1500cc; }
127
 
128
  with gr.Group(elem_classes=["container"]):
129
  input_image = gr.Image(
130
- type='pil',
131
- label="Upload or Snap a Photo",
132
- sources=["upload", "webcam", "clipboard"],
133
- tool="editor",
134
- image_mode="RGB"
135
  )
 
 
 
 
 
136
  analyze_button = gr.Button("πŸ”₯ Analyze My Fit")
137
 
138
  category_html = gr.HTML()
 
127
 
128
  with gr.Group(elem_classes=["container"]):
129
  input_image = gr.Image(
130
+ type='pil',
131
+ label="Upload or Take a Picture",
132
+ sources=["upload", "webcam", "clipboard"],
133
+ image_mode="RGB",
134
+ elem_id="custom-image-input"
135
  )
136
+ gr.Markdown("""
137
+ <p style='margin-top:-10px; font-size: 0.9rem; color: #555;'>
138
+ Click the πŸ“· camera icon to take a photo, the πŸ“ file icon to upload one, or the πŸ“‹ clipboard icon to paste.
139
+ </p>
140
+ """)
141
  analyze_button = gr.Button("πŸ”₯ Analyze My Fit")
142
 
143
  category_html = gr.HTML()