hassan526 commited on
Commit
6b6642e
·
verified ·
1 Parent(s): b9bc479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -202,7 +202,7 @@ if __name__ == '__main__':
202
  fn=lambda x: "API ready.",
203
  inputs=gr.Textbox(label="Info"),
204
  outputs=gr.Textbox(label="Response"),
205
- allow_flagging="never" # 🚫 disables writing to `flagged/`
206
  )
207
 
208
  gr_app = gr.mount_gradio_app(app, dummy_interface, path="/gradio")
 
202
  fn=lambda x: "API ready.",
203
  inputs=gr.Textbox(label="Info"),
204
  outputs=gr.Textbox(label="Response"),
205
+ flagging_mode="auto" # 🚫 disables writing to `flagged/`
206
  )
207
 
208
  gr_app = gr.mount_gradio_app(app, dummy_interface, path="/gradio")