Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -69,11 +69,15 @@ def pil_parser(video_file):
|
|
69 |
|
70 |
return 'shape is : '+ str(X.shape)
|
71 |
|
72 |
-
|
|
|
|
|
|
|
73 |
gr.Interface(
|
74 |
fn=pil_parser,
|
75 |
inputs=gr.Video(label="Upload a video file")
|
76 |
outputs=['text'],
|
|
|
77 |
title="Viscosity Regression From Video Data",
|
78 |
description=(
|
79 |
"Gradio demo for Video Regression"
|
|
|
69 |
|
70 |
return 'shape is : '+ str(X.shape)
|
71 |
|
72 |
+
example_list=[
|
73 |
+
["2350.mp4"],
|
74 |
+
["2300.mp4"],
|
75 |
+
]
|
76 |
gr.Interface(
|
77 |
fn=pil_parser,
|
78 |
inputs=gr.Video(label="Upload a video file")
|
79 |
outputs=['text'],
|
80 |
+
examples=example_list,
|
81 |
title="Viscosity Regression From Video Data",
|
82 |
description=(
|
83 |
"Gradio demo for Video Regression"
|