Spaces:
Running
Running
Commit
·
b764d7e
1
Parent(s):
483c47e
feat: use ONNX model
Browse files
app.py
CHANGED
@@ -108,13 +108,13 @@ def inference(
|
|
108 |
return output_message
|
109 |
|
110 |
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
print(inference('000_con_cho.mp4'))
|
|
|
108 |
return output_message
|
109 |
|
110 |
|
111 |
+
iface = gr.Interface(
|
112 |
+
fn=inference,
|
113 |
+
inputs='video',
|
114 |
+
outputs='text',
|
115 |
+
examples=examples,
|
116 |
+
title=title,
|
117 |
+
description=description,
|
118 |
+
)
|
119 |
+
iface.launch()
|
120 |
+
# print(inference('000_con_cho.mp4'))
|