roll-ai commited on
Commit
5a27be6
·
verified ·
1 Parent(s): d336664

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -8,8 +8,9 @@ iface = gr.Interface(
8
  inputs="text",
9
  outputs="text",
10
  title="Welcome to GEN3C",
11
- flagging_dir="/tmp/flagged", # ✅ use writable location
12
- flagging_callback="none" # or disable flagging entirely
 
13
  )
14
 
15
  iface.launch(server_name="0.0.0.0", server_port=7860)
 
8
  inputs="text",
9
  outputs="text",
10
  title="Welcome to GEN3C",
11
+ allow_flagging="never", # ✅ disables flagging properly
12
+ # OR use the line below to allow flagging but save it somewhere writable
13
+ # flagging_dir="/tmp/flagged"
14
  )
15
 
16
  iface.launch(server_name="0.0.0.0", server_port=7860)