Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,8 +18,8 @@ def get_resp(question):
|
|
| 18 |
return response.choices[0].message.content
|
| 19 |
|
| 20 |
|
| 21 |
-
API_KEY = '
|
| 22 |
-
ENDPOINT =
|
| 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,
|