bradnow commited on
Commit
b9615bf
·
1 Parent(s): 2d42f7a

increase max text paste size

Browse files
Files changed (3) hide show
  1. .DS_Store +0 -0
  2. __pycache__/utils.cpython-310.pyc +0 -0
  3. app.py +2 -1
.DS_Store ADDED
Binary file (6.15 kB). View file
 
__pycache__/utils.cpython-310.pyc CHANGED
Binary files a/__pycache__/utils.cpython-310.pyc and b/__pycache__/utils.cpython-310.pyc differ
 
app.py CHANGED
@@ -544,7 +544,8 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
544
  file_count="multiple",
545
  placeholder="Type your message here and press Enter or upload file...",
546
  show_label=False,
547
- sources=["upload"]
 
548
  )
549
 
550
  # Original text-only input
 
544
  file_count="multiple",
545
  placeholder="Type your message here and press Enter or upload file...",
546
  show_label=False,
547
+ sources=["upload"],
548
+ max_plain_text_length=100000
549
  )
550
 
551
  # Original text-only input