Spaces:
Sleeping
Sleeping
ubermenchh
commited on
Commit
•
109160b
1
Parent(s):
3031245
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.Blocks() as demo:
|
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(theme='Taithrah/Minimal') as demo:
|
105 |
gr.Markdown(DESCRIPTION)
|
106 |
|
107 |
with gr.Group():
|