piegoneer commited on
Commit
8fb21ee
·
1 Parent(s): 285787d

fixed gradio flagging error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ demo = gr.Interface(
71
  ["Please update the shipping address for Jane Smith to 123 Secure Lane. Her phone number is 555-0198."],
72
  ["The patient, Michael Johnson, was born on 10/12/1985. His SSN is 000-11-2222."]
73
  ],
74
- allow_flagging="never" # Turns off the "Flag" button since we don't need to collect user data
75
  )
76
 
77
  # 4. Launch the app
 
71
  ["Please update the shipping address for Jane Smith to 123 Secure Lane. Her phone number is 555-0198."],
72
  ["The patient, Michael Johnson, was born on 10/12/1985. His SSN is 000-11-2222."]
73
  ],
74
+ flagging_mode="never" # Turns off the "Flag" button since we don't need to collect user data
75
  )
76
 
77
  # 4. Launch the app