hkayesh commited on
Commit
5e3abdf
·
1 Parent(s): d5e98e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,9 +1,11 @@
1
  import gradio as gr
2
 
3
  title = "Disaster tweets classification"
 
4
  description = "Text classification using DistilBERT fine-tuned on the Kaggle disaster tweets dataset"
 
5
  examples = [["Twelve feared killed in an air ambulance helicopter crash"],
6
- ["It's an apocalypse"],
7
  ["I love my new Tesla!"],
8
  ["Wow social media really blew up after the Adele concert"],
9
  ["Are you OK?"]]
@@ -11,7 +13,7 @@ examples = [["Twelve feared killed in an air ambulance helicopter crash"],
11
  interface = gr.Interface.load("huggingface/hkayesh/twitter-disaster-nlp",
12
  description=description,
13
  examples=examples,
14
- theme="peach"
15
  )
16
 
17
  interface.launch()
 
1
  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"],
9
  ["I love my new Tesla!"],
10
  ["Wow social media really blew up after the Adele concert"],
11
  ["Are you OK?"]]
 
13
  interface = gr.Interface.load("huggingface/hkayesh/twitter-disaster-nlp",
14
  description=description,
15
  examples=examples,
16
+ theme="huggingface"
17
  )
18
 
19
  interface.launch()