Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import re
|
| 2 |
import pandas as pd
|
| 3 |
-
from
|
| 4 |
import gradio as gr
|
| 5 |
import os
|
| 6 |
|
|
@@ -68,5 +68,5 @@ interface = gr.Interface(
|
|
| 68 |
)
|
| 69 |
|
| 70 |
if __name__ == "__main__":
|
| 71 |
-
# Enable queueing and
|
| 72 |
-
interface.queue(
|
|
|
|
| 1 |
import re
|
| 2 |
import pandas as pd
|
| 3 |
+
from langchain_community.document_loaders import PyMuPDFLoader # Updated import
|
| 4 |
import gradio as gr
|
| 5 |
import os
|
| 6 |
|
|
|
|
| 68 |
)
|
| 69 |
|
| 70 |
if __name__ == "__main__":
|
| 71 |
+
# Enable queueing and set a shareable link
|
| 72 |
+
interface.queue(max_size=10, timeout=300).launch(share=True)
|