Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def apply_replacements(text):
|
|
111 |
def chat_with_openai(message: str, history: list, temperature: float, max_new_tokens: int, fast_mode: bool = False):
|
112 |
"""
|
113 |
Call the OpenAI ChatCompletion endpoint using the new client and yield streaming responses.
|
114 |
-
|
115 |
Implementscontent": "I will now respond to the user's message:\n\n"})
|
116 |
else:
|
117 |
yield "HealthAssistant is Thinking! Please wait, your response will output shortly...\n\n"
|
|
|
111 |
def chat_with_openai(message: str, history: list, temperature: float, max_new_tokens: int, fast_mode: bool = False):
|
112 |
"""
|
113 |
Call the OpenAI ChatCompletion endpoint using the new client and yield streaming responses.
|
114 |
+
"""
|
115 |
Implementscontent": "I will now respond to the user's message:\n\n"})
|
116 |
else:
|
117 |
yield "HealthAssistant is Thinking! Please wait, your response will output shortly...\n\n"
|