Sephfox commited on
Commit
fd5ca2e
·
verified ·
1 Parent(s): d07dc04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -278,15 +278,14 @@ def process_input(input_text):
278
  }
279
 
280
  iface = gr.Interface(
 
281
  fn=process_input,
282
  inputs="text",
283
  outputs=[
284
- gr.outputs.Textbox(label="Emotional Response"),
285
- gr.outputs.Textbox(label="Sentiment Response"),
286
- gr.outputs.Textbox(label="Generated Text")
287
- ],
288
- title="Emotion and Sentiment Analysis",
289
- description="Analyze emotions and sentiments from text input."
290
  )
291
 
292
  iface.launch()
 
278
  }
279
 
280
  iface = gr.Interface(
281
+ iface = gr.Interface(
282
  fn=process_input,
283
  inputs="text",
284
  outputs=[
285
+ gradio.components.Textbox(label="Emotional Response"),
286
+ gradio.components.Textbox(label="Sentiment Response"),
287
+ gradio.components.Textbox(label="Generated Text")
288
+ ]
 
 
289
  )
290
 
291
  iface.launch()