Spaces:
Running
on
Zero
Running
on
Zero
Mohamed Rashad
commited on
Commit
·
e8509f3
1
Parent(s):
d0f7e21
fix: Update example_pdfs to store paths as strings for compatibility
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ There are three models available:
|
|
123 |
"""
|
124 |
|
125 |
example_images = list(Path(__file__).parent.glob("*.jpeg"))
|
126 |
-
example_pdfs =
|
127 |
|
128 |
with gr.Blocks(title="Arabic Nougat") as demo:
|
129 |
gr.HTML(
|
|
|
123 |
"""
|
124 |
|
125 |
example_images = list(Path(__file__).parent.glob("*.jpeg"))
|
126 |
+
example_pdfs = [str(p) for p in Path(__file__).parent.glob("*.pdf")]
|
127 |
|
128 |
with gr.Blocks(title="Arabic Nougat") as demo:
|
129 |
gr.HTML(
|