dreamdrop-art commited on
Commit
39ecde8
1 Parent(s): 7103383

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -647,8 +647,8 @@ with gr.Blocks(css=css) as demo:
647
  hf_seed], outputs=hf_image_output, concurrency_limit=64)
648
  with gr.Tab("Face Swap"):
649
  with gr.Row():
650
- source_image = gr.File(label="Source image", type="filepath", file_types="image", file_count="single", interactive=True)
651
- target_image = gr.File(label="Target image", type="filepath", file_types="image", file_count="single", interactive=True)
652
  swap_button = gr.Button(value="Swap")
653
  with gr.Row():
654
  swaped_result = gr.Gallery(show_label=False, rows=2, preview=True)
 
647
  hf_seed], outputs=hf_image_output, concurrency_limit=64)
648
  with gr.Tab("Face Swap"):
649
  with gr.Row():
650
+ source_image = gr.File(label="Source image", type="filepath", file_types=["image"], file_count="single", interactive=True)
651
+ target_image = gr.File(label="Target image", type="filepath", file_types="[image"], file_count="single", interactive=True)
652
  swap_button = gr.Button(value="Swap")
653
  with gr.Row():
654
  swaped_result = gr.Gallery(show_label=False, rows=2, preview=True)