Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -2,4 +2,5 @@ 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.
|
|
|
|
2 |
|
3 |
io1 = gr.Interface.load('huggingface/MilaNLProc/xlm-emo-t')
|
4 |
inputs = gr.inputs.Textbox(lines = 10, label="Text")
|
5 |
+
outpts=gr.outputs.Label(label="Output")
|
6 |
+
gr.Interface(io1, inputs=inputs,outputs=outpts, title='Emotions Analyser',theme='peach').launch()
|