aneesarom commited on
Commit
4d17112
·
verified ·
1 Parent(s): dba215b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -65,7 +65,8 @@ demo = gr.Interface(
65
  "The server fetches the PDF and extracts the text content, returning it in JSON format."
66
  ),
67
  examples=example_urls, # This adds buttons below the input box
68
- allow_flagging="never" # ✅ correct in Gradio 4.x
 
69
  )
70
 
71
  if __name__ == "__main__":
 
65
  "The server fetches the PDF and extracts the text content, returning it in JSON format."
66
  ),
67
  examples=example_urls, # This adds buttons below the input box
68
+ flagging_mode="never", # ✅ replaces allow_flagging
69
+ cache_examples=False # ✅ disables caching (prevents CSV write)
70
  )
71
 
72
  if __name__ == "__main__":