VlaTal commited on
Commit
24fa644
1 Parent(s): 17dcbf0
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -61,10 +61,10 @@ class Assistant:
61
  temperature=0
62
  )
63
 
64
- os.environ["AZURE_OPENAI_API_KEY"] = st.secrets["AZURE_OPENAI_API_KEY"]
65
- os.environ["OPENAI_API_TYPE"] = st.secrets["OPENAI_API_TYPE"]
66
- os.environ["OPENAI_API_VERSION"] = st.secrets["OPENAI_API_VERSION"]
67
- os.environ["AZURE_OPENAI_ENDPOINT"] = st.secrets["AZURE_OPENAI_ENDPOINT"]
68
  self.make_template()
69
 
70
  def run(self):
 
61
  temperature=0
62
  )
63
 
64
+ os.environ["AZURE_OPENAI_API_KEY"] = os.environ["AZURE_OPENAI_API_KEY"]
65
+ os.environ["OPENAI_API_TYPE"] = os.environ["OPENAI_API_TYPE"]
66
+ os.environ["OPENAI_API_VERSION"] = os.environ["OPENAI_API_VERSION"]
67
+ os.environ["AZURE_OPENAI_ENDPOINT"] = os.environ["AZURE_OPENAI_ENDPOINT"]
68
  self.make_template()
69
 
70
  def run(self):