Spaces:
Sleeping
Sleeping
[email protected]
commited on
Commit
·
1c83e34
1
Parent(s):
e317171
update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,8 @@ import pandas as pd
|
|
3 |
import gradio as gr
|
4 |
import onnxruntime as ort
|
5 |
from mediapipe.python.solutions import holistic
|
6 |
-
from utils import get_predictions
|
7 |
-
|
8 |
|
9 |
title = '''
|
10 |
|
@@ -18,9 +18,7 @@ description = '''
|
|
18 |
|
19 |
'''
|
20 |
|
21 |
-
examples = [
|
22 |
-
['000_con_cho.mp4'],
|
23 |
-
]
|
24 |
|
25 |
# Load the configuration file.
|
26 |
ort_session = ort.InferenceSession('VSL_SAM_SLR_V2.onnx')
|
|
|
3 |
import gradio as gr
|
4 |
import onnxruntime as ort
|
5 |
from mediapipe.python.solutions import holistic
|
6 |
+
from utils.model import get_predictions
|
7 |
+
from utils.data import preprocess
|
8 |
|
9 |
title = '''
|
10 |
|
|
|
18 |
|
19 |
'''
|
20 |
|
21 |
+
examples = []
|
|
|
|
|
22 |
|
23 |
# Load the configuration file.
|
24 |
ort_session = ort.InferenceSession('VSL_SAM_SLR_V2.onnx')
|