Update utils.py
Browse files
utils.py
CHANGED
@@ -251,8 +251,6 @@ def generate_prompt_with_history(text, history, max_length=4048):
|
|
251 |
for x in history[::-1]:
|
252 |
history_text = x + history_text
|
253 |
flag = True
|
254 |
-
print ("Prompt: ..........................")
|
255 |
-
print(prompt+history_text)
|
256 |
if flag:
|
257 |
return prompt+history_text
|
258 |
else:
|
|
|
251 |
for x in history[::-1]:
|
252 |
history_text = x + history_text
|
253 |
flag = True
|
|
|
|
|
254 |
if flag:
|
255 |
return prompt+history_text
|
256 |
else:
|