Sa-m commited on
Commit
b11881c
1 Parent(s): f38362f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ io1 = gr.Interface.load('huggingface/MilaNLProc/xlm-emo-t')
4
+ inputs = gr.inputs.Textbox(lines = 10, label="Text")
5
+ gr.Interface(io1, inputs=inputs, title='Emotions Analyser',theme='peach')