Spaces:
Sleeping
Sleeping
Commit
·
400f53b
1
Parent(s):
9c46b79
Updated examples
Browse files
app.py
CHANGED
@@ -52,8 +52,8 @@ def inference(pdf_path, chunk_size, chunk_overlap):
|
|
52 |
|
53 |
title = "PDF Chat"
|
54 |
description = "A simple Gradio interface to query PDFs and compare vector database"
|
55 |
-
examples = [["data/amazon-10-k-2024.pdf", 1000, 100],
|
56 |
-
["data/goog-10-k-2023.pdf", 1000, 100]]
|
57 |
|
58 |
with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
59 |
gr.Markdown(f"# {title}\n{description}")
|
|
|
52 |
|
53 |
title = "PDF Chat"
|
54 |
description = "A simple Gradio interface to query PDFs and compare vector database"
|
55 |
+
examples = [[["data/amazon-10-k-2024.pdf"], 1000, 100],
|
56 |
+
[["data/goog-10-k-2023.pdf"], 1000, 100]]
|
57 |
|
58 |
with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
59 |
gr.Markdown(f"# {title}\n{description}")
|