Dharma20 commited on
Commit
664065d
1 Parent(s): 7402dd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -17,12 +17,11 @@ def classify_text(text):
17
 
18
 
19
  interface = gr.Interface(fn=classify_text,
20
- inputs = gr.inputs.Texbox(placeholder="Enter Text here", label='Input text',lines=5)),
21
- outputs=gr.outputs.Label(num_top_classes=4, label='Emotion inthe Text'),
22
  verbose=True,
23
  title="Emotion Classifier",
24
  theme='soft')
25
-
26
  interface.launch()
27
 
28
 
 
17
 
18
 
19
  interface = gr.Interface(fn=classify_text,
20
+ inputs=gr.inputs.Texbox(placeholder="Enter Text here", label='Input text',lines=5)),
21
+ outputs=gr.outputs.Label(num_top_classes=4, label='Emotion in the Text'),
22
  verbose=True,
23
  title="Emotion Classifier",
24
  theme='soft')
 
25
  interface.launch()
26
 
27