Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
|
3 |
title = "Disaster tweets classification"
|
4 |
|
5 |
-
description = "Text classification using DistilBERT fine-tuned on the Kaggle disaster tweets dataset"
|
6 |
|
7 |
examples = [["Twelve feared killed in an air ambulance helicopter crash"],
|
8 |
["Emergency services called after 'strong' chemical smells"],
|
@@ -14,7 +14,7 @@ interface = gr.Interface.load("huggingface/hkayesh/twitter-disaster-nlp",
|
|
14 |
title=title,
|
15 |
description=description,
|
16 |
examples=examples,
|
17 |
-
theme="
|
18 |
)
|
19 |
|
20 |
interface.launch(enable_queue=True)
|
|
|
2 |
|
3 |
title = "Disaster tweets classification"
|
4 |
|
5 |
+
description = "Text classification using DistilBERT fine-tuned on the Kaggle disaster tweets dataset. \n Labels:\n- LABEL_1 - About disaster \n- LABEL_0 - Not about disaster"
|
6 |
|
7 |
examples = [["Twelve feared killed in an air ambulance helicopter crash"],
|
8 |
["Emergency services called after 'strong' chemical smells"],
|
|
|
14 |
title=title,
|
15 |
description=description,
|
16 |
examples=examples,
|
17 |
+
theme="peach"
|
18 |
)
|
19 |
|
20 |
interface.launch(enable_queue=True)
|