ubermenchh commited on
Commit
eaaf53b
1 Parent(s): a6727f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Block() 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() as demo:
105
  gr.Markdown(DESCRIPTION)
106
 
107
  with gr.Group():