Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -696,12 +696,12 @@ with gr.Blocks(css=css) as interface:
|
|
696 |
value="Image",
|
697 |
)
|
698 |
|
699 |
-
with gr.
|
700 |
image_input = gr.Image(
|
701 |
label="Target Image", interactive=True, type="filepath"
|
702 |
)
|
703 |
|
704 |
-
with gr.
|
705 |
vid_widget = gr.Video if USE_COLAB else gr.Text
|
706 |
video_input = gr.Video(
|
707 |
label="Target Video", interactive=True
|
@@ -746,7 +746,7 @@ with gr.Blocks(css=css) as interface:
|
|
746 |
"Trim and Reload", interactive=True
|
747 |
)
|
748 |
|
749 |
-
with gr.
|
750 |
direc_input = gr.Text(label="Path", interactive=True)
|
751 |
|
752 |
with gr.Column(scale=0.7):
|
@@ -769,7 +769,7 @@ with gr.Blocks(css=css) as interface:
|
|
769 |
"📽️", interactive=False, visible=False
|
770 |
)
|
771 |
|
772 |
-
with gr.
|
773 |
with gr.Row():
|
774 |
gr.Markdown(
|
775 |
"### [🎭 Sponsor]"
|
|
|
696 |
value="Image",
|
697 |
)
|
698 |
|
699 |
+
with gr.Column(visible=True) as input_image_group:
|
700 |
image_input = gr.Image(
|
701 |
label="Target Image", interactive=True, type="filepath"
|
702 |
)
|
703 |
|
704 |
+
with gr.Column(visible=False) as input_video_group:
|
705 |
vid_widget = gr.Video if USE_COLAB else gr.Text
|
706 |
video_input = gr.Video(
|
707 |
label="Target Video", interactive=True
|
|
|
746 |
"Trim and Reload", interactive=True
|
747 |
)
|
748 |
|
749 |
+
with gr.Column(visible=False) as input_directory_group:
|
750 |
direc_input = gr.Text(label="Path", interactive=True)
|
751 |
|
752 |
with gr.Column(scale=0.7):
|
|
|
769 |
"📽️", interactive=False, visible=False
|
770 |
)
|
771 |
|
772 |
+
with gr.Column():
|
773 |
with gr.Row():
|
774 |
gr.Markdown(
|
775 |
"### [🎭 Sponsor]"
|