Dharma20 commited on
Commit
97df024
1 Parent(s): 7597d10

Update app.py

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