Spaces:
Sleeping
Sleeping
adelinamart
commited on
Commit
•
8ed6974
1
Parent(s):
b99bfa0
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ def predict(input):
|
|
9 |
|
10 |
gradio_app = gr.Interface(
|
11 |
predict,
|
12 |
-
inputs=gr.
|
13 |
-
outputs=[gr.
|
14 |
title="Happy? Or Not?",
|
15 |
)
|
16 |
|
|
|
9 |
|
10 |
gradio_app = gr.Interface(
|
11 |
predict,
|
12 |
+
inputs=gr.Textbox(lines=7, label="Info"),
|
13 |
+
outputs=[gr.Textbox(label="Processed TEXT"), gr.Label(label="Result", num_top_classes=6)],
|
14 |
title="Happy? Or Not?",
|
15 |
)
|
16 |
|