Spaces:
Sleeping
Sleeping
Commit
•
eaaf53b
1
Parent(s):
a6727f5
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def check_input_token_length(message, chat_history, system_prompt):
|
|
101 |
if input_token_length > MAX_INPUT_TOKEN_LENGTH:
|
102 |
raise gr.Error(f"The accumulated input is too long ({input_token_length} > {MAX_INPUT_TOKEN_LENGTH}). Clear your chat history and try again.")
|
103 |
|
104 |
-
with gr.
|
105 |
gr.Markdown(DESCRIPTION)
|
106 |
|
107 |
with gr.Group():
|
|
|
101 |
if input_token_length > MAX_INPUT_TOKEN_LENGTH:
|
102 |
raise gr.Error(f"The accumulated input is too long ({input_token_length} > {MAX_INPUT_TOKEN_LENGTH}). Clear your chat history and try again.")
|
103 |
|
104 |
+
with gr.Blocks() as demo:
|
105 |
gr.Markdown(DESCRIPTION)
|
106 |
|
107 |
with gr.Group():
|