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