updated app.py
Browse files
app.py
CHANGED
|
@@ -70,6 +70,7 @@ output_frames = gr.Image(label="Output Frames")
|
|
| 70 |
output_video_file = gr.Video(label="Output video")
|
| 71 |
|
| 72 |
app = gr.Interface(
|
|
|
|
| 73 |
fn=vid_inf,
|
| 74 |
inputs=[input_video, contour_thresh],
|
| 75 |
outputs=[output_frames, output_video_file],
|
|
@@ -80,4 +81,4 @@ app = gr.Interface(
|
|
| 80 |
cache_examples=False,
|
| 81 |
)
|
| 82 |
|
| 83 |
-
app.queue().launch()
|
|
|
|
| 70 |
output_video_file = gr.Video(label="Output video")
|
| 71 |
|
| 72 |
app = gr.Interface(
|
| 73 |
+
theme="gstaff/xkcd",
|
| 74 |
fn=vid_inf,
|
| 75 |
inputs=[input_video, contour_thresh],
|
| 76 |
outputs=[output_frames, output_video_file],
|
|
|
|
| 81 |
cache_examples=False,
|
| 82 |
)
|
| 83 |
|
| 84 |
+
app.queue().launch(pwa=True)
|