abdullahalioo commited on
Commit
664b22f
·
verified ·
1 Parent(s): 74a7b28

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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
- print(token, end="", flush=True)
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)