Spaces:
Runtime error
Runtime error
zwq2018
commited on
Commit
•
79d6654
1
Parent(s):
bb7cd19
modified: app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ class Client:
|
|
51 |
|
52 |
# self.stop = False
|
53 |
self.OPENAI_KEY = os.getenv('OPENAI_API')
|
54 |
-
self.OPENAI_API_KEY_AZURE = ''#os.getenv('OPENAI_API_KEY_AZURE')
|
55 |
self.OPENAI_API_BASED_AZURE ='' #os.getenv('OPENAI_API_BASED_AZURE')
|
56 |
self.OPENAI_ENGINE_AZURE = '' #os.getenv('OPENAI_ENGINE_AZURE')
|
57 |
gen = gradio_interface(messages, self.OPENAI_KEY, self.OPENAI_API_KEY_AZURE, self.OPENAI_API_BASED_AZURE, self.OPENAI_ENGINE_AZURE)
|
|
|
51 |
|
52 |
# self.stop = False
|
53 |
self.OPENAI_KEY = os.getenv('OPENAI_API')
|
54 |
+
self.OPENAI_API_KEY_AZURE = '' #os.getenv('OPENAI_API_KEY_AZURE')
|
55 |
self.OPENAI_API_BASED_AZURE ='' #os.getenv('OPENAI_API_BASED_AZURE')
|
56 |
self.OPENAI_ENGINE_AZURE = '' #os.getenv('OPENAI_ENGINE_AZURE')
|
57 |
gen = gradio_interface(messages, self.OPENAI_KEY, self.OPENAI_API_KEY_AZURE, self.OPENAI_API_BASED_AZURE, self.OPENAI_ENGINE_AZURE)
|