nam_nguyenhoai_AI
commited on
Commit
·
b4f3d45
1
Parent(s):
782d7ee
update src
Browse files
app.py
CHANGED
@@ -155,10 +155,10 @@ with gr.Blocks(css=css) as demo:
|
|
155 |
print("Algorithm: ", algorithm_type)
|
156 |
print("Model Type: ", model_type)
|
157 |
# Process the video and get the path of the output video
|
158 |
-
output_video_path = make_video(uploaded_video, algorithm=algorithm_type, model_version=
|
159 |
return output_video_path
|
160 |
|
161 |
-
submit.click(on_submit, inputs=[input_video, algorithm_type], outputs=processed_video)
|
162 |
|
163 |
if __name__ == '__main__':
|
164 |
demo.queue().launch(share=True)
|
|
|
155 |
print("Algorithm: ", algorithm_type)
|
156 |
print("Model Type: ", model_type)
|
157 |
# Process the video and get the path of the output video
|
158 |
+
output_video_path = make_video(uploaded_video, algorithm=algorithm_type, model_version=model_type)
|
159 |
return output_video_path
|
160 |
|
161 |
+
submit.click(on_submit, inputs=[input_video, algorithm_type, model_type], outputs=processed_video)
|
162 |
|
163 |
if __name__ == '__main__':
|
164 |
demo.queue().launch(share=True)
|