txya900619 commited on
Commit
dd29995
·
verified ·
1 Parent(s): d144ec1

fix: change allow_flagging to flagging_mode

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ with demo:
113
  outputs=[
114
  gr.Text(interactive=False, label="文字"),
115
  ],
116
- allow_flagging="auto",
117
  )
118
 
119
  demo.launch()
 
113
  outputs=[
114
  gr.Text(interactive=False, label="文字"),
115
  ],
116
+ flagging_mode="auto",
117
  )
118
 
119
  demo.launch()