Joshnicholas commited on
Commit
0668800
·
verified ·
1 Parent(s): 966faf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
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", values="""It’s often said that people tend to become more politically conservative as they age. But millennials and generation Z are bucking the trend – supporting the Indigenous voice to parliament and backing centre-left and left parties at increasing rates in recent elections.
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