hkayesh commited on
Commit
d5e98e7
·
1 Parent(s): 8cc9f99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -1,12 +1,17 @@
1
  import gradio as gr
2
 
 
3
  description = "Text classification using DistilBERT fine-tuned on the Kaggle disaster tweets dataset"
4
- title = "Classify disaster-related tweets"
5
- examples = [["Twelve feared killed in an air ambulance helicopter crash"]]
 
 
 
6
 
7
  interface = gr.Interface.load("huggingface/hkayesh/twitter-disaster-nlp",
8
  description=description,
9
- examples=examples
 
10
  )
11
 
12
  interface.launch()
 
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?"]]
10
 
11
  interface = gr.Interface.load("huggingface/hkayesh/twitter-disaster-nlp",
12
  description=description,
13
+ examples=examples,
14
+ theme="peach"
15
  )
16
 
17
  interface.launch()