Spaces:
Sleeping
Sleeping
Commit
·
7ff980a
1
Parent(s):
4f4709b
Adding examples
Browse files- app.py +2 -0
- requirements.txt +2 -0
app.py
CHANGED
@@ -67,6 +67,8 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
|
67 |
|
68 |
submit_btn.click(inference, inputs=[pdf, chunk_size, chunk_overlap], outputs=message)
|
69 |
|
|
|
|
|
70 |
demo.launch()
|
71 |
|
72 |
|
|
|
67 |
|
68 |
submit_btn.click(inference, inputs=[pdf, chunk_size, chunk_overlap], outputs=message)
|
69 |
|
70 |
+
examples_obj = gr.Examples(examples=examples, inputs=[pdf, chunk_size, chunk_overlap])
|
71 |
+
|
72 |
demo.launch()
|
73 |
|
74 |
|
requirements.txt
CHANGED
@@ -6,6 +6,7 @@ annotated-types==0.7.0
|
|
6 |
anyio==4.8.0
|
7 |
asgiref==3.8.1
|
8 |
attrs==25.3.0
|
|
|
9 |
backoff==2.2.1
|
10 |
bcrypt==4.3.0
|
11 |
build==1.2.2.post1
|
@@ -108,6 +109,7 @@ pydantic_core==2.27.2
|
|
108 |
pydub==0.25.1
|
109 |
Pygments==2.19.1
|
110 |
pylance==0.24.1
|
|
|
111 |
PyPika==0.48.9
|
112 |
pyproject_hooks==1.2.0
|
113 |
pyreadline3==3.5.4
|
|
|
6 |
anyio==4.8.0
|
7 |
asgiref==3.8.1
|
8 |
attrs==25.3.0
|
9 |
+
audioop-lts==0.2.1
|
10 |
backoff==2.2.1
|
11 |
bcrypt==4.3.0
|
12 |
build==1.2.2.post1
|
|
|
109 |
pydub==0.25.1
|
110 |
Pygments==2.19.1
|
111 |
pylance==0.24.1
|
112 |
+
pypdf==5.4.0
|
113 |
PyPika==0.48.9
|
114 |
pyproject_hooks==1.2.0
|
115 |
pyreadline3==3.5.4
|