Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ def bot(history):
|
|
| 92 |
|
| 93 |
def infer(question):
|
| 94 |
global query1
|
| 95 |
-
openai.api_key = os.environ['
|
| 96 |
prompt_text = question
|
| 97 |
if prompt_text:
|
| 98 |
query1 = query1 + "\nUser: " + prompt_text + "\nBot: "
|
|
|
|
| 92 |
|
| 93 |
def infer(question):
|
| 94 |
global query1
|
| 95 |
+
openai.api_key = os.environ['OpenApi_Key']
|
| 96 |
prompt_text = question
|
| 97 |
if prompt_text:
|
| 98 |
query1 = query1 + "\nUser: " + prompt_text + "\nBot: "
|