ndurner commited on
Commit
1b4e764
·
1 Parent(s): d33c02a

update Gradio, disable paste limit

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🤖
4
  colorFrom: yellow
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: yellow
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 5.13.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -458,6 +458,7 @@ with gr.Blocks(delete_cache=(86400, 86400)) as demo:
458
 
459
  chat = gr.ChatInterface(fn=bot, multimodal=True, additional_inputs=controls, autofocus = False)
460
  chat.textbox.file_count = "multiple"
 
461
  chatbot = chat.chatbot
462
  chatbot.show_copy_button = True
463
  chatbot.height = 450
 
458
 
459
  chat = gr.ChatInterface(fn=bot, multimodal=True, additional_inputs=controls, autofocus = False)
460
  chat.textbox.file_count = "multiple"
461
+ chat.textbox.max_plain_text_length = 2**31
462
  chatbot = chat.chatbot
463
  chatbot.show_copy_button = True
464
  chatbot.height = 450