jaymojnidar commited on
Commit
84a32ef
·
1 Parent(s): b3f6d13

reintroducing auth token as secret

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def check_input_token_length(message: str, chat_history: list[tuple[str, str]],
94
 
95
  def getTokLen(self) -> str:
96
  global tokLen
97
- return f"tokens used = {tokLen}"
98
 
99
  with gr.Blocks(css='style.css') as demo:
100
  gr.Markdown(DESCRIPTION)
 
94
 
95
  def getTokLen(self) -> str:
96
  global tokLen
97
+ return f"tokens used so far: {tokLen}/{MAX_INPUT_TOKEN_LENGTH}"
98
 
99
  with gr.Blocks(css='style.css') as demo:
100
  gr.Markdown(DESCRIPTION)