Linly-Talker / configs.py
linxianzhong0128's picture
Upload folder using huggingface_hub
7088d16 verified
raw
history blame contribute delete
486 Bytes
# 设备运行端口 (Device running port)
port = 6006
# api运行端口及IP (API running port and IP)
mode = 'api' # api 需要先运行Linly-api-fast.py,暂时仅仅适用于Linly
ip = '0.0.0.0'
api_port = 7871
# L模型路径 (Linly model path) 已不用了
mode = 'offline'
model_path = 'Qwen/Qwen-1_8B-Chat'
# ssl证书 (SSL certificate) 麦克风对话需要此参数
# 最好调整为绝对路径
ssl_certfile = "./https_cert/cert.pem"
ssl_keyfile = "./https_cert/key.pem"