Update app.py
Browse files
app.py
CHANGED
@@ -144,8 +144,8 @@ def create_interface():
|
|
144 |
outputs=[output_text, classification_types_checkboxes],
|
145 |
examples=examples,
|
146 |
allow_flagging="manual",
|
147 |
-
|
148 |
-
|
149 |
)
|
150 |
|
151 |
return iface
|
|
|
144 |
outputs=[output_text, classification_types_checkboxes],
|
145 |
examples=examples,
|
146 |
allow_flagging="manual",
|
147 |
+
flagging_options=["π", "π"],
|
148 |
+
flagging_callback=hf_writer
|
149 |
)
|
150 |
|
151 |
return iface
|