leonarb commited on
Commit
99e3331
·
verified ·
1 Parent(s): 5827499

Fixes flagging in gradio interface

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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__":