Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ inputs = [
|
|
48 |
gr.Dropdown(
|
49 |
value=['identical'],
|
50 |
multiselect=True,
|
51 |
-
choices=[x.value for x in TypesOfHomoglyphs]
|
52 |
),
|
53 |
gr.Checkbox(label="Zero-Width", value=False, visible=False),
|
54 |
]
|
@@ -94,12 +94,12 @@ gr.Interface(
|
|
94 |
description=description,
|
95 |
allow_flagging="never",
|
96 |
theme=theme,
|
97 |
-
examples=[
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
],
|
104 |
examples_per_page=3,
|
105 |
).launch()
|
|
|
48 |
gr.Dropdown(
|
49 |
value=['identical'],
|
50 |
multiselect=True,
|
51 |
+
choices=[x.value for x in TypesOfHomoglyphs],
|
52 |
),
|
53 |
gr.Checkbox(label="Zero-Width", value=False, visible=False),
|
54 |
]
|
|
|
94 |
description=description,
|
95 |
allow_flagging="never",
|
96 |
theme=theme,
|
97 |
+
# examples=[
|
98 |
+
# [EXAMPLE_TEXT_1, True, 0.05, ['identical'], False],
|
99 |
+
# [EXAMPLE_TEXT_1, False, 0.05, ['identical'], True],
|
100 |
+
# [EXAMPLE_TEXT_2, True, 0.1, ['identical'], False],
|
101 |
+
# [EXAMPLE_TEXT_1, True, 0.03, ['identical'], True],
|
102 |
+
# [EXAMPLE_TEXT_2, False, 0.05, ['identical'], True],
|
103 |
+
# ],
|
104 |
examples_per_page=3,
|
105 |
).launch()
|