Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,10 @@ def predict(text):
|
|
33 |
iface = gr.Interface(
|
34 |
fn=predict,
|
35 |
inputs="text",
|
36 |
-
outputs=
|
|
|
|
|
|
|
37 |
title="Hellenic Sentiment AI",
|
38 |
description=None,
|
39 |
article=None,
|
|
|
33 |
iface = gr.Interface(
|
34 |
fn=predict,
|
35 |
inputs="text",
|
36 |
+
outputs=[
|
37 |
+
gr.outputs.Textbox(label="Prediction"),
|
38 |
+
gr.outputs.Label(label="Label Confidence")
|
39 |
+
],
|
40 |
title="Hellenic Sentiment AI",
|
41 |
description=None,
|
42 |
article=None,
|