tanthinhdt commited on
Commit
b764d7e
·
1 Parent(s): 483c47e

feat: use ONNX model

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -108,13 +108,13 @@ def inference(
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'))
 
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'))