Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -161,7 +161,16 @@ demo = gr.ChatInterface(
|
|
161 |
multimodal=True,
|
162 |
cache_examples=False,
|
163 |
theme="bethecloud/storj_theme",
|
164 |
-
additional_inputs=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
)
|
166 |
|
167 |
demo.launch(debug=True, ssr_mode=False)
|
|
|
161 |
multimodal=True,
|
162 |
cache_examples=False,
|
163 |
theme="bethecloud/storj_theme",
|
164 |
+
additional_inputs=gr.Accordion(
|
165 |
+
label="OCR Options",
|
166 |
+
open=True,
|
167 |
+
components=[
|
168 |
+
gr.Checkbox(
|
169 |
+
label="Use RolmOCR",
|
170 |
+
value=False,
|
171 |
+
info="Check to use RolmOCR, uncheck to use Qwen2VL OCR"
|
172 |
+
)
|
173 |
+
],
|
174 |
)
|
175 |
|
176 |
demo.launch(debug=True, ssr_mode=False)
|