Spaces:
Runtime error
Runtime error
Commit
•
bd7a978
1
Parent(s):
0524fd1
Update app.py
Browse files
app.py
CHANGED
@@ -9,5 +9,5 @@ gr.Interface.load("models/Amitesh007/tw-sentiment-finetuned",
|
|
9 |
examples = examples,
|
10 |
allow_flagging="manual",
|
11 |
flagging_options=["incorrect", "ambiguous"],
|
12 |
-
|
13 |
).launch()
|
|
|
9 |
examples = examples,
|
10 |
allow_flagging="manual",
|
11 |
flagging_options=["incorrect", "ambiguous"],
|
12 |
+
flagging_callback = CSVLogger("flagged_data.csv")
|
13 |
).launch()
|