Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Sa-m
/
Emotions-Analyser
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Sa-m
commited on
Apr 30, 2022
Commit
b11881c
·
1 Parent(s):
f38362f
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -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')