Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
# app.py
|
2 |
import os
|
3 |
import cv2
|
4 |
import numpy as np
|
@@ -99,4 +98,4 @@ with app:
|
|
99 |
video_output = gr.Video(label="Detection Result")
|
100 |
gr.Button("Submit Video").click(fn=detect_video, inputs=[model_choice, video_input], outputs=video_output)
|
101 |
|
102 |
-
app.launch()
|
|
|
|
|
1 |
import os
|
2 |
import cv2
|
3 |
import numpy as np
|
|
|
98 |
video_output = gr.Video(label="Detection Result")
|
99 |
gr.Button("Submit Video").click(fn=detect_video, inputs=[model_choice, video_input], outputs=video_output)
|
100 |
|
101 |
+
app.launch(share=True)
|