Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ openai.api_key = os.getenv('OpenAPI')
|
|
| 7 |
|
| 8 |
chat_history = ""
|
| 9 |
|
| 10 |
-
def call_openai_api(user_prompt, stream=true):
|
| 11 |
global chat_history
|
| 12 |
|
| 13 |
text = """
|
|
|
|
| 7 |
|
| 8 |
chat_history = ""
|
| 9 |
|
| 10 |
+
def call_openai_api(user_prompt, stream='true'):
|
| 11 |
global chat_history
|
| 12 |
|
| 13 |
text = """
|