Spaces:
Running
on
Zero
Running
on
Zero
Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -338,8 +338,8 @@ def model_inference(
|
|
338 |
if not response.token.text == "</s>":
|
339 |
output += response.token.text
|
340 |
yield output
|
341 |
-
print(formatted_prompt)
|
342 |
update_history(output, user_prompt)
|
|
|
343 |
return
|
344 |
else:
|
345 |
if user_prompt["text"].strip() == "" and not user_prompt["files"]:
|
|
|
338 |
if not response.token.text == "</s>":
|
339 |
output += response.token.text
|
340 |
yield output
|
|
|
341 |
update_history(output, user_prompt)
|
342 |
+
print(history)
|
343 |
return
|
344 |
else:
|
345 |
if user_prompt["text"].strip() == "" and not user_prompt["files"]:
|