Suzana commited on
Commit
5ea71ec
1 Parent(s): fe2bf66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -1,3 +1,10 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("huggingface/j-hartmann/emotion-english-distilroberta-base").launch();
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ examples = ["I love you", "I lost my wallet"]
4
+
5
+ gr.Interface.load(
6
+ "huggingface/j-hartmann/emotion-english-distilroberta-base",
7
+ title="Basic emotion detection",
8
+ examples = examples,
9
+
10
+ ).launch();