Update app.py
Browse files
app.py
CHANGED
@@ -123,19 +123,16 @@ def main():
|
|
123 |
datasets = ['K400', 'SSv2', 'UCF']
|
124 |
|
125 |
ALL_MODELS = [
|
126 |
-
'TFVideoMAE_S_K400_16x224',
|
127 |
-
'TFVideoMAE_B_K400_16x224',
|
128 |
'TFVideoMAE_L_K400_16x224',
|
129 |
-
'TFVideoMAE_S_SSv2_16x224',
|
130 |
'TFVideoMAE_B_SSv2_16x224',
|
131 |
'TFVideoMAE_B_UCF_16x224',
|
132 |
]
|
133 |
|
134 |
|
135 |
sample_example = [
|
136 |
-
["examples/k400.mp4",
|
137 |
-
["examples/
|
138 |
-
["examples/
|
139 |
]
|
140 |
|
141 |
iface = gr.Interface(
|
|
|
123 |
datasets = ['K400', 'SSv2', 'UCF']
|
124 |
|
125 |
ALL_MODELS = [
|
|
|
|
|
126 |
'TFVideoMAE_L_K400_16x224',
|
|
|
127 |
'TFVideoMAE_B_SSv2_16x224',
|
128 |
'TFVideoMAE_B_UCF_16x224',
|
129 |
]
|
130 |
|
131 |
|
132 |
sample_example = [
|
133 |
+
["examples/k400.mp4", ALL_MODELS[0], 0.9],
|
134 |
+
["examples/k400.mp4", ALL_MODELS[2], 0.8]
|
135 |
+
["examples/ucf.mp4", ALL_MODELS[1], 0.7],
|
136 |
]
|
137 |
|
138 |
iface = gr.Interface(
|