Initial commit
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ Fine-tuned from [xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta
|
|
97 |
|
98 |
demo = gr.Interface(fn=trait_classifier,
|
99 |
inputs="text",
|
100 |
-
outputs=gr.Label(num_top_classes=5, label='
|
101 |
title="🤯 Petarda",
|
102 |
theme=gr.themes.Ocean(primary_hue="amber", secondary_hue="cyan"),
|
103 |
description=description,
|
|
|
97 |
|
98 |
demo = gr.Interface(fn=trait_classifier,
|
99 |
inputs="text",
|
100 |
+
outputs=gr.Label(num_top_classes=5, label='Personality traits', show_heading=False, show_label=True),
|
101 |
title="🤯 Petarda",
|
102 |
theme=gr.themes.Ocean(primary_hue="amber", secondary_hue="cyan"),
|
103 |
description=description,
|