Spaces:
Sleeping
Sleeping
Commit
·
dcfafb1
1
Parent(s):
f5f43e3
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='JohnSmith9982/small_and_pretty') as demo:
|
| 96 |
gr.Markdown(DESCRIPTION)
|
| 97 |
with gr.Group():
|
| 98 |
chatbot = gr.Chatbot(label='Jarvis')
|