Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -23,7 +23,7 @@ chatbot.new_conversation(assistant=ASSISTANT_ID, switch_to=True)
|
|
23 |
# 🔁 Stream response character-by-character as it generates
|
24 |
print("Assistant:", end=" ", flush=True)
|
25 |
for token in chatbot.chat("Hello, how can I help you today?", stream=True):
|
26 |
-
|
27 |
|
28 |
# Optionally: web search example
|
29 |
# response = chatbot.chat("How many models stored in huggingface?", web_search=True)
|
|
|
23 |
# 🔁 Stream response character-by-character as it generates
|
24 |
print("Assistant:", end=" ", flush=True)
|
25 |
for token in chatbot.chat("Hello, how can I help you today?", stream=True):
|
26 |
+
|
27 |
|
28 |
# Optionally: web search example
|
29 |
# response = chatbot.chat("How many models stored in huggingface?", web_search=True)
|