Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
285 |
-
|
286 |
-
|
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()
|