zwq2018 commited on
Commit
56be35e
1 Parent(s): fa2119a

modify app_with_key.py

Browse files
Files changed (1) hide show
  1. app_with_key.py +3 -3
app_with_key.py CHANGED
@@ -35,9 +35,9 @@ example_company =['介绍下贵州茅台,这公司是干什么的,主营业务
35
  class Client:
36
  def __init__(self) -> None:
37
  self.OPENAI_KEY = OPENAI_KEY
38
- self.OPENAI_API_BASED_AZURE = None
39
- self.OPENAI_ENGINE_AZURE = None
40
- self.OPENAI_API_KEY_AZURE = None
41
  self.stop = False # 添加停止标志
42
 
43
  def set_key(self, openai_key, openai_key_azure, api_base_azure, engine_azure):
 
35
  class Client:
36
  def __init__(self) -> None:
37
  self.OPENAI_KEY = OPENAI_KEY
38
+ self.OPENAI_API_BASED_AZURE = ''
39
+ self.OPENAI_ENGINE_AZURE = ''
40
+ self.OPENAI_API_KEY_AZURE = ''
41
  self.stop = False # 添加停止标志
42
 
43
  def set_key(self, openai_key, openai_key_azure, api_base_azure, engine_azure):