Spaces:
Running
Running
Fixes flagging in gradio interface
Browse files
app.py
CHANGED
@@ -112,7 +112,8 @@ iface = gr.Interface(
|
|
112 |
],
|
113 |
outputs=gr.File(label="Download EPUB"),
|
114 |
title="PDF to EPUB Converter (with olmOCR)",
|
115 |
-
description="Uploads a PDF, extracts text from each page with vision + prompt, and builds an EPUB using the outputs. Sets the first page as cover."
|
|
|
116 |
)
|
117 |
|
118 |
if __name__ == "__main__":
|
|
|
112 |
],
|
113 |
outputs=gr.File(label="Download EPUB"),
|
114 |
title="PDF to EPUB Converter (with olmOCR)",
|
115 |
+
description="Uploads a PDF, extracts text from each page with vision + prompt, and builds an EPUB using the outputs. Sets the first page as cover.",
|
116 |
+
allow_flagging="never" # Add this line to avoid the flagged directory issue
|
117 |
)
|
118 |
|
119 |
if __name__ == "__main__":
|