Commit ·
ee6a5b5
1
Parent(s): 99a626b
add more examples
Browse files
app.py
CHANGED
|
@@ -38,6 +38,8 @@ compiled_model_ir = ie.compile_model(model=model_ir, device_name="CPU", config=c
|
|
| 38 |
a = os.path.join(os.path.dirname(__file__), "files", "dylan.mp4")
|
| 39 |
b = os.path.join(os.path.dirname(__file__), "files", "train14.mp4")
|
| 40 |
c = os.path.join(os.path.dirname(__file__), "files", "train_17.mp4")
|
|
|
|
|
|
|
| 41 |
|
| 42 |
|
| 43 |
class SquarePad:
|
|
@@ -351,7 +353,9 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
|
|
| 351 |
gr.Examples(examples=[
|
| 352 |
[a],
|
| 353 |
[b],
|
| 354 |
-
[c]
|
|
|
|
|
|
|
| 355 |
],
|
| 356 |
inputs=[in_video],
|
| 357 |
outputs=[out_text, out_plot, out_hist, out_event_type_dist],
|
|
|
|
| 38 |
a = os.path.join(os.path.dirname(__file__), "files", "dylan.mp4")
|
| 39 |
b = os.path.join(os.path.dirname(__file__), "files", "train14.mp4")
|
| 40 |
c = os.path.join(os.path.dirname(__file__), "files", "train_17.mp4")
|
| 41 |
+
d = os.path.join(os.path.dirname(__file__), "files", "train13.mp4")
|
| 42 |
+
e = os.path.join(os.path.dirname(__file__), "files", "train_213.mp4")
|
| 43 |
|
| 44 |
|
| 45 |
class SquarePad:
|
|
|
|
| 353 |
gr.Examples(examples=[
|
| 354 |
[a],
|
| 355 |
[b],
|
| 356 |
+
[c],
|
| 357 |
+
[d],
|
| 358 |
+
[e]
|
| 359 |
],
|
| 360 |
inputs=[in_video],
|
| 361 |
outputs=[out_text, out_plot, out_hist, out_event_type_dist],
|