Commit
•
d4376fe
1
Parent(s):
db7dfdc
fix: add default value
Browse files
src/distilabel_dataset_generator/apps/textcat.py
CHANGED
@@ -383,7 +383,8 @@ with app:
|
|
383 |
)
|
384 |
with gr.Column():
|
385 |
labels = gr.Dropdown(
|
386 |
-
choices=[
|
|
|
387 |
allow_custom_value=True,
|
388 |
interactive=True,
|
389 |
label="Labels",
|
|
|
383 |
)
|
384 |
with gr.Column():
|
385 |
labels = gr.Dropdown(
|
386 |
+
choices=[],
|
387 |
+
value=["negative", "positive"],
|
388 |
allow_custom_value=True,
|
389 |
interactive=True,
|
390 |
label="Labels",
|