Update app.py
Browse files
app.py
CHANGED
@@ -122,8 +122,8 @@ def construct_demo():
|
|
122 |
|
123 |
with gr.Row(equal_height=True):
|
124 |
with gr.Column(scale=1):
|
125 |
-
# Hier wird source
|
126 |
-
input_video = gr.Video(label="Input Video"
|
127 |
with gr.Column(scale=2):
|
128 |
with gr.Row(equal_height=True):
|
129 |
processed_video = gr.Video(label="Preprocessed Video", interactive=False, autoplay=True, loop=True, show_share_button=True, scale=5)
|
@@ -162,4 +162,4 @@ def construct_demo():
|
|
162 |
if __name__ == "__main__":
|
163 |
demo = construct_demo()
|
164 |
demo.queue() # Enable asynchronous processing
|
165 |
-
demo.launch(share=True)
|
|
|
122 |
|
123 |
with gr.Row(equal_height=True):
|
124 |
with gr.Column(scale=1):
|
125 |
+
# Hier wird der Parameter "source" entfernt, da er in der aktuellen API nicht mehr unterstützt wird.
|
126 |
+
input_video = gr.Video(label="Input Video")
|
127 |
with gr.Column(scale=2):
|
128 |
with gr.Row(equal_height=True):
|
129 |
processed_video = gr.Video(label="Preprocessed Video", interactive=False, autoplay=True, loop=True, show_share_button=True, scale=5)
|
|
|
162 |
if __name__ == "__main__":
|
163 |
demo = construct_demo()
|
164 |
demo.queue() # Enable asynchronous processing
|
165 |
+
demo.launch(share=True)
|