Spaces:
Sleeping
Sleeping
secrets
Browse files
app.py
CHANGED
@@ -61,10 +61,10 @@ class Assistant:
|
|
61 |
temperature=0
|
62 |
)
|
63 |
|
64 |
-
os.environ["AZURE_OPENAI_API_KEY"] =
|
65 |
-
os.environ["OPENAI_API_TYPE"] =
|
66 |
-
os.environ["OPENAI_API_VERSION"] =
|
67 |
-
os.environ["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):
|