Spaces:
Paused
Paused
Commit
·
84a32ef
1
Parent(s):
b3f6d13
reintroducing auth token as secret
Browse files
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
|
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)
|