Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,13 +60,7 @@ def get_category(text):
|
|
60 |
|
61 |
#Creating the interface for the radio app
|
62 |
demo = gr.Interface(get_category,
|
63 |
-
inputs=gr.inputs.Textbox(label="Paste article text here",
|
64 |
-
|
65 |
-
Political scientists say there has been a “fundamental shift”, at least partly because the experiences of younger voters are so much different from previous generations.
|
66 |
-
|
67 |
-
There’s a “new kind of adulthood” as one expert described it: younger Australians are leaving the family home, living in share houses, getting married, having children and buying their own home much later than previous generations did, if at all.
|
68 |
-
|
69 |
-
They also have much higher rates of university education, women’s labour market participation, and more identify as LGBTQI+, culturally diverse and not religious. Other studies have found a larger share of younger voters mistrust institutions such as political parties.""",lines=4)
|
70 |
outputs = "text",
|
71 |
title="News Article Categorization")
|
72 |
|
|
|
60 |
|
61 |
#Creating the interface for the radio app
|
62 |
demo = gr.Interface(get_category,
|
63 |
+
inputs=gr.inputs.Textbox(label="Paste article text here",lines=4)
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
outputs = "text",
|
65 |
title="News Article Categorization")
|
66 |
|