Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ def chat_with_openai(message: str, history: list, temperature: float, max_new_to
|
|
142 |
|
143 |
if not fast_mode:
|
144 |
# Indicate that the assistant is thinking.
|
145 |
-
yield "HealthAssistant is Thinking! Please wait, your response will output shortly. This may take 30
|
146 |
think_result = think(conversation)
|
147 |
conversation.append({"role": "assistant", "content": "<think>\n" + think_result + "\n</think> I will now respond to the user's message:\n\n"})
|
148 |
else:
|
|
|
142 |
|
143 |
if not fast_mode:
|
144 |
# Indicate that the assistant is thinking.
|
145 |
+
yield "HealthAssistant is Thinking! Please wait, your response will output shortly. This may take 10-30 seconds...\n\n"
|
146 |
think_result = think(conversation)
|
147 |
conversation.append({"role": "assistant", "content": "<think>\n" + think_result + "\n</think> I will now respond to the user's message:\n\n"})
|
148 |
else:
|