Open Jacoo520 opened 7 months ago
@Jacoo520 I have been able to run on Windows without any issues. Were you able to resolve the issue?
我解决了 import argparse import os os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE' os.environ['OMP_NUM_THREADS'] = '4' if name == "main":
并且你还需要在客户端加入以下代码
try: client() except Exception as e: print(f"An error occurred: {e}")
我在尝试windows系统下操作。 服务器运行命令:
python run_server.py --port 9090 --backend faster_whisper
客户端代码:
客户端输出日志:
安装PyAudio:pip install PyAudio,版本号:0.2.14 ffmpeg安装:https://www.ffmpeg.org/download.html python:Python 3.8.19 torch:2.2.2+cu118 whisper-live:0.4.1 faster-whisper:1.0.1