[2noise/ChatTTS]APIConnectionError: Connection error.

2024-06-12 468 views
2

from ChatTTS.experimental.llm import llm_api

API_KEY = '' client = llm_api(api_key=API_KEY, base_url="https://api.deepseek.com", model="deepseek-chat")

user_question = '四川有哪些好吃的美食呢?' text = client.call(user_question, prompt_version = 'deepseek') text = client.call(text, prompt_version = 'deepseek_TN')

运行demo时,出现APIConnectionError: Connection error. 访问https://api.deepseek.com这个网站也无法访问,求解答

回答

8

还是报错,还是“APIConnectionError: Connection error.”