Spaces:
Runtime error
Runtime error
dreamdrop-art
commited on
Update app.py
Browse files
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)
|