Spaces:
Sleeping
Sleeping
abdulmatinomotoso
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def get_category(text):
|
|
57 |
return emotion
|
58 |
|
59 |
#Creating the interface for the radio app
|
60 |
-
demo = gr.Interface(get_category, inputs=gr.
|
61 |
outputs = "text",
|
62 |
title="News Article Categorization")
|
63 |
|
|
|
57 |
return emotion
|
58 |
|
59 |
#Creating the interface for the radio app
|
60 |
+
demo = gr.Interface(get_category, inputs=gr.Textbox(label="Drop your articles here"),
|
61 |
outputs = "text",
|
62 |
title="News Article Categorization")
|
63 |
|