jzhang533 commited on
Commit
18e8f97
·
1 Parent(s): 3a1c398

update model to ernie-4.5-turbo-128k-preview

Browse files

Signed-off-by: Zhang Jun <[email protected]>

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,11 +12,10 @@ description = """
12
 
13
 
14
  qianfan_api_key = os.getenv("QIANFAN_TOKEN")
15
- qianfan_model = "ernie-4.5-turbo-32k"
16
 
17
  client = OpenAI(base_url="https://qianfan.baidubce.com/v2", api_key=qianfan_api_key)
18
 
19
-
20
  def respond(
21
  message,
22
  history: list[tuple[str, str]],
 
12
 
13
 
14
  qianfan_api_key = os.getenv("QIANFAN_TOKEN")
15
+ qianfan_model = "ernie-4.5-turbo-128k-preview"
16
 
17
  client = OpenAI(base_url="https://qianfan.baidubce.com/v2", api_key=qianfan_api_key)
18
 
 
19
  def respond(
20
  message,
21
  history: list[tuple[str, str]],