vilarin commited on
Commit
17410b0
β€’
1 Parent(s): f324a05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -24,12 +24,13 @@ DESCRIPTION = f"""
24
  <br>
25
  πŸš€ MODEL NOW: <a href="https://hf.co/{MODEL_ID}">{MODEL_NAME}</a>
26
  <br>
27
- ✨ Tips: Now you can send DM or upload IMAGE/FILE per time.
 
 
28
  <br>
29
  πŸ€™ Supported Format: pdf, txt, docx, pptx, md, png, jpg, webp
30
- </p>
31
  <br>
32
- <p>πŸ™‡β€β™‚οΈ May be rebuilding from time to time during coding</p>
33
  </center>"""
34
 
35
  CSS = """
@@ -192,10 +193,10 @@ with gr.Blocks(css=CSS, theme="soft",fill_height=True) as demo:
192
  render=False,
193
  ),
194
  gr.Slider(
195
- minimum=128,
196
  maximum=8192,
197
  step=1,
198
- value=1024,
199
  label="Max Length",
200
  render=False,
201
  ),
 
24
  <br>
25
  πŸš€ MODEL NOW: <a href="https://hf.co/{MODEL_ID}">{MODEL_NAME}</a>
26
  <br>
27
+ ✨ Tips: Now you can send DM or upload 1 IMAGE/FILE per time.
28
+ <br>
29
+ ✨ Tips: Please increase MAX LENGTH when deal with file.
30
  <br>
31
  πŸ€™ Supported Format: pdf, txt, docx, pptx, md, png, jpg, webp
 
32
  <br>
33
+ πŸ™‡β€β™‚οΈ May be rebuilding from time to time.</p>
34
  </center>"""
35
 
36
  CSS = """
 
193
  render=False,
194
  ),
195
  gr.Slider(
196
+ minimum=1024,
197
  maximum=8192,
198
  step=1,
199
+ value=4096,
200
  label="Max Length",
201
  render=False,
202
  ),