命令行执行 vs gradio界面执行 #58
bbeyondllove
announced in
Announcements
Replies: 3 comments
-
命令行调用在stage1需要load模型,通过gradio调用是模型的加载相关操作已经在启动服务时完成了。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
嗯,那是不是可以做成http api,先加载模型,然后命令行相当于client来调用,这样应该会快很多 |
Beta Was this translation helpful? Give feedback.
0 replies
-
是可以的,但是我觉得这个应用的场景很少有批量自动调用的,都需要结合每一条视频的识别结果去选择需要的段落。所以主要推的是gradio界面的调用方式。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
python paraclipper/videoclipper.py --stage 1 --file bk_man_1.wav --output_dir ./output
这个命令执行大概要15秒左右,音频才3秒。不过在界面执行是很快的,找不到问题在哪。
Beta Was this translation helpful? Give feedback.
All reactions