Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,8 +147,8 @@ def predict(process_video):
|
|
147 |
|
148 |
# ---- Gradio Layout -----
|
149 |
youtube_url_in = gr.Textbox(label="Youtube url", lines=1, interactive=True)
|
150 |
-
video_in = gr.Video(label="
|
151 |
-
video_out = gr.Video(label="
|
152 |
demo = gr.Blocks()
|
153 |
demo.encrypt = False
|
154 |
text_output = gr.Textbox()
|
@@ -203,4 +203,4 @@ with demo:
|
|
203 |
text_output.render()
|
204 |
|
205 |
|
206 |
-
demo.launch(debug=True)
|
|
|
147 |
|
148 |
# ---- Gradio Layout -----
|
149 |
youtube_url_in = gr.Textbox(label="Youtube url", lines=1, interactive=True)
|
150 |
+
video_in = gr.Video(label="Video đầu vào", mirror_webcam=False, interactive=True)
|
151 |
+
video_out = gr.Video(label="Video vùng môi", mirror_webcam=False, interactive=True)
|
152 |
demo = gr.Blocks()
|
153 |
demo.encrypt = False
|
154 |
text_output = gr.Textbox()
|
|
|
203 |
text_output.render()
|
204 |
|
205 |
|
206 |
+
demo.launch(debug=True,share=True)
|