Closed wick233 closed 1 month ago
又试了几次报错没有找到模块
ModuleNotFoundError: No module named 'whisperx'
Traceback:
File "/opt/conda/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/opt/conda/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 590, in code_to_exec
exec(code, module.dict)
File "/app/st.py", line 123, in
是挂在了linux服务器上吗?这个看起来是文件下载回传的网络问题,可能是网络原因也可能是streamlit的原因
原因也可能是streamlit的原因
用docker部署到了linux上,切换Whisper Method还是会报找不到模块错误,用的是cc洛杉矶的小鸡
No module named 'whisperx' 是因为没有安装 third party 文件夹里面的 whisperX 项目,docker 稳定性未知,最好参照本地部署指南进行命令行安装。另外,Linux 部署非 whisper api 版没有测试过,理论上应该没问题~
还是推荐使用一键整合包哈哈哈
似乎远程传文件容易导致这个问题,这似乎是 streamlit 处理大文件时的弊端,默认上传文件的大小限制在 200M,是我手动改大了,因此还是建议本地上传,或者部署后用链接下载的方式。
Connection error Connection failed with status 504, and response "
错误
您所请求的网址(URL)无法获取
当尝试取回该 URL 时遇到下面的错误:http://64.69.41.28:8501/_stcore/health
系统返回以下内容:(111) Connection refused
The remote host or network may be down. Please try the request again.
缓存服务器的管理员 cncs-netapp@foxconn.com.
已由 TPEproxyNwing (squid/3.5.28) 生成 Thu, 19 Sep 2024 09:07:27 GMT