Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,29 +40,6 @@ def get_nth_frame2(vc, n):
|
|
| 40 |
|
| 41 |
with gr.Blocks() as demo:
|
| 42 |
with gr.Tab("Create Image Classify Dataset"):
|
| 43 |
-
|
| 44 |
-
# with gr.Row():
|
| 45 |
-
# with gr.Column():
|
| 46 |
-
# input_video = gr.Video()
|
| 47 |
-
# with gr.Accordion('Video Info'):
|
| 48 |
-
# output_fps = gr.Textbox(lines=1, label="fps")
|
| 49 |
-
# output_fms = gr.Textbox(lines=1, label="frame count")
|
| 50 |
-
# output_w = gr.Textbox(lines=1, label="width")
|
| 51 |
-
# output_h = gr.Textbox(lines=1, label="height")
|
| 52 |
-
# with gr.Column():
|
| 53 |
-
# output_img = gr.Image()
|
| 54 |
-
# with gr.Accordion('Show Frame'):
|
| 55 |
-
# input_n = gr.Slider(0, 9999, value=0, step=1, label="n")
|
| 56 |
-
# btn = gr.Button(value="Submit")
|
| 57 |
-
# input_video.change(
|
| 58 |
-
# video_change,
|
| 59 |
-
# inputs=[input_video],
|
| 60 |
-
# outputs=[output_fps, output_fms, output_w, output_h, input_n]
|
| 61 |
-
# )
|
| 62 |
-
# btn.click(get_nth_frame, inputs=[input_video, input_n], outputs=output_img)
|
| 63 |
-
|
| 64 |
-
gr.Markdown("*****")
|
| 65 |
-
|
| 66 |
with gr.Row():
|
| 67 |
with gr.Column():
|
| 68 |
state_vc = gr.State(value=None)
|
|
|
|
| 40 |
|
| 41 |
with gr.Blocks() as demo:
|
| 42 |
with gr.Tab("Create Image Classify Dataset"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
with gr.Row():
|
| 44 |
with gr.Column():
|
| 45 |
state_vc = gr.State(value=None)
|