yashvii commited on
Commit
950d754
1 Parent(s): 5406396

add upload image option

Browse files
Files changed (1) hide show
  1. gradio_demo/app.py +1 -1
gradio_demo/app.py CHANGED
@@ -438,7 +438,7 @@ def main(pretrained_model_name_or_path="wangqixun/YamerMIX_v8", enable_lcm_arg=F
438
  style = gr.Dropdown(label="Choose your STYLE", choices=STYLE_NAMES)
439
  with gr.Row(equal_height=True): # Center the face file
440
  with gr.Column(elem_id="centered-face", elem_classes=["centered-column"]): # Use CSS class for centering
441
- face_file = gr.Image(label="Upload a photo of your face", type="pil", sources="webcam", height=400, width=500)
442
  # submit = gr.Button("Submit", variant="primary")
443
  with gr.Column():
444
  with gr.Row():
 
438
  style = gr.Dropdown(label="Choose your STYLE", choices=STYLE_NAMES)
439
  with gr.Row(equal_height=True): # Center the face file
440
  with gr.Column(elem_id="centered-face", elem_classes=["centered-column"]): # Use CSS class for centering
441
+ face_file = gr.Image(label="Upload a photo of your face", type="pil", height=400, width=500)
442
  # submit = gr.Button("Submit", variant="primary")
443
  with gr.Column():
444
  with gr.Row():