Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -265,7 +265,8 @@ with gr.Blocks() as demo:
|
|
265 |
gr.Number(label="Document Length (characters)"),
|
266 |
],
|
267 |
title="Document Reader",
|
268 |
-
description="Upload a document (PDF, XLSX, PPTX, TXT, CSV, DOC, DOCX and Code or text file) to read its content."
|
|
|
269 |
)
|
270 |
with gr.TabItem("Document Chat"):
|
271 |
iface2 = gr.Interface(
|
@@ -277,7 +278,8 @@ with gr.Blocks() as demo:
|
|
277 |
],
|
278 |
outputs=gr.Markdown(label="Answer"),
|
279 |
title="Document Chat",
|
280 |
-
description="Upload a document and ask questions about its content."
|
|
|
281 |
)
|
282 |
with gr.TabItem("Document Chat V2"):
|
283 |
iface3 = gr.Interface(
|
@@ -289,7 +291,8 @@ with gr.Blocks() as demo:
|
|
289 |
],
|
290 |
outputs=gr.Markdown(label="Answer"),
|
291 |
title="Document Chat V2",
|
292 |
-
description="Upload a document and ask questions about its content (using chunk-based approach)."
|
|
|
293 |
)
|
294 |
|
295 |
demo.launch()
|
|
|
265 |
gr.Number(label="Document Length (characters)"),
|
266 |
],
|
267 |
title="Document Reader",
|
268 |
+
description="Upload a document (PDF, XLSX, PPTX, TXT, CSV, DOC, DOCX and Code or text file) to read its content.",
|
269 |
+
concurrency_limit = None
|
270 |
)
|
271 |
with gr.TabItem("Document Chat"):
|
272 |
iface2 = gr.Interface(
|
|
|
278 |
],
|
279 |
outputs=gr.Markdown(label="Answer"),
|
280 |
title="Document Chat",
|
281 |
+
description="Upload a document and ask questions about its content.",
|
282 |
+
concurrency_limit = None
|
283 |
)
|
284 |
with gr.TabItem("Document Chat V2"):
|
285 |
iface3 = gr.Interface(
|
|
|
291 |
],
|
292 |
outputs=gr.Markdown(label="Answer"),
|
293 |
title="Document Chat V2",
|
294 |
+
description="Upload a document and ask questions about its content (using chunk-based approach).",
|
295 |
+
concurrency_limit =None
|
296 |
)
|
297 |
|
298 |
demo.launch()
|