Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
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=
|
196 |
maximum=8192,
|
197 |
step=1,
|
198 |
-
value=
|
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 |
),
|