Spaces:
Runtime error
Runtime error
Achille Thin - Genesis
commited on
Commit
·
fc9a5fe
1
Parent(s):
ec62eee
adding load local data
Browse files
app.py
CHANGED
@@ -199,8 +199,8 @@ with gr.Blocks() as demo:
|
|
199 |
concurrency_limit=20,
|
200 |
)
|
201 |
|
202 |
-
|
203 |
-
|
204 |
help_msg = gr.Markdown(
|
205 |
value="Once the document is loaded, press the Encode button below to add it to the db."
|
206 |
)
|
|
|
199 |
concurrency_limit=20,
|
200 |
)
|
201 |
|
202 |
+
load_local_data('data/')
|
203 |
+
load_local_data('data/pdf/')
|
204 |
help_msg = gr.Markdown(
|
205 |
value="Once the document is loaded, press the Encode button below to add it to the db."
|
206 |
)
|