Spaces:
Build error
Build error
Commit
·
a1c6b54
1
Parent(s):
df1aa0b
Token checking client side
Browse files
app.py
CHANGED
@@ -81,7 +81,6 @@ def bot(history, system_prompt=""):
|
|
81 |
token_count = count_tokens(prompt) # Re-count tokens
|
82 |
|
83 |
prompt_html = template_html.render(documents=documents, query=query)
|
84 |
-
logger.warning(prompt)
|
85 |
|
86 |
history[-1][1] = ""
|
87 |
for character in generate(prompt):
|
|
|
81 |
token_count = count_tokens(prompt) # Re-count tokens
|
82 |
|
83 |
prompt_html = template_html.render(documents=documents, query=query)
|
|
|
84 |
|
85 |
history[-1][1] = ""
|
86 |
for character in generate(prompt):
|