ndhek commited on
Commit
593e403
·
verified ·
1 Parent(s): 81b1c57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def get_resp(question):
18
  return response.choices[0].message.content
19
 
20
 
21
- API_KEY = 'a3babad21aee482798891f0e56f538f4' #gpt4o
22
- ENDPOINT = 'https://invite-instance-openai.openai.azure.com/'
23
 
24
  client = AzureOpenAI(
25
  azure_endpoint=ENDPOINT,
 
18
  return response.choices[0].message.content
19
 
20
 
21
+ API_KEY = os.getenv('API_KEY') #gpt4o
22
+ ENDPOINT = os.getenv('ENDPOINT')
23
 
24
  client = AzureOpenAI(
25
  azure_endpoint=ENDPOINT,