Spaces:
Runtime error
Runtime error
Commit
·
a25ab35
1
Parent(s):
3dd905b
Screw the flagging
Browse files- demo.py +0 -2
- model-test.ipynb +1 -3
demo.py
CHANGED
|
@@ -35,8 +35,6 @@ iface = gr.Interface(
|
|
| 35 |
outputs=label,
|
| 36 |
examples=examples,
|
| 37 |
description=title,
|
| 38 |
-
allow_flagging="manual",
|
| 39 |
-
flagging_options=["wrong", "ambiguous"]
|
| 40 |
)
|
| 41 |
|
| 42 |
iface.launch(inline=False)
|
|
|
|
| 35 |
outputs=label,
|
| 36 |
examples=examples,
|
| 37 |
description=title,
|
|
|
|
|
|
|
| 38 |
)
|
| 39 |
|
| 40 |
iface.launch(inline=False)
|
model-test.ipynb
CHANGED
|
@@ -127,8 +127,6 @@
|
|
| 127 |
" outputs=label, \n",
|
| 128 |
" examples=examples, \n",
|
| 129 |
" description=title, \n",
|
| 130 |
-
" allow_flagging=\"manual\", \n",
|
| 131 |
-
" flagging_options=[\"wrong\", \"ambiguous\"]\n",
|
| 132 |
")\n",
|
| 133 |
"\n",
|
| 134 |
"iface.launch(inline=False)\n"
|
|
@@ -144,7 +142,7 @@
|
|
| 144 |
},
|
| 145 |
{
|
| 146 |
"cell_type": "code",
|
| 147 |
-
"execution_count":
|
| 148 |
"metadata": {},
|
| 149 |
"outputs": [
|
| 150 |
{
|
|
|
|
| 127 |
" outputs=label, \n",
|
| 128 |
" examples=examples, \n",
|
| 129 |
" description=title, \n",
|
|
|
|
|
|
|
| 130 |
")\n",
|
| 131 |
"\n",
|
| 132 |
"iface.launch(inline=False)\n"
|
|
|
|
| 142 |
},
|
| 143 |
{
|
| 144 |
"cell_type": "code",
|
| 145 |
+
"execution_count": 42,
|
| 146 |
"metadata": {},
|
| 147 |
"outputs": [
|
| 148 |
{
|