Spaces:
Running
Running
ubermenchh
commited on
Commit
•
f5f43e3
1
Parent(s):
702a7c9
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def check_input_token_length(message, chat_history, system_prompt):
|
|
92 |
if input_token_length > MAX_INPUT_TOKEN_LENGTH:
|
93 |
raise gr.Error(f"The accumulated input is too long ({input_token_length} > {MAX_INPUT_TOKEN_LENGTH}). Client your chat history and try again.")
|
94 |
|
95 |
-
with gr.Blocks(theme='
|
96 |
gr.Markdown(DESCRIPTION)
|
97 |
with gr.Group():
|
98 |
chatbot = gr.Chatbot(label='Jarvis')
|
|
|
92 |
if input_token_length > MAX_INPUT_TOKEN_LENGTH:
|
93 |
raise gr.Error(f"The accumulated input is too long ({input_token_length} > {MAX_INPUT_TOKEN_LENGTH}). Client your chat history and try again.")
|
94 |
|
95 |
+
with gr.Blocks(theme='ParityError/Interstellar') as demo:
|
96 |
gr.Markdown(DESCRIPTION)
|
97 |
with gr.Group():
|
98 |
chatbot = gr.Chatbot(label='Jarvis')
|