raminass commited on
Commit
a4466d4
·
1 Parent(s): 8fbc997

Update app.py

Browse files

update description

Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -33,7 +33,7 @@ def update_year(year):
33
  return gr.CheckboxGroup(
34
  judges_by_year[year],
35
  value=judges_by_year[year],
36
- label="Select Judges",
37
  )
38
 
39
 
@@ -42,8 +42,8 @@ with gr.Blocks() as demo:
42
  with gr.Column():
43
  drop = gr.Dropdown(
44
  choices=sorted(choices),
45
- label="Per Curiam Opinions",
46
- info="Select a per curiam opinion to use as input",
47
  )
48
  year = gr.Slider(
49
  1994,
@@ -60,7 +60,7 @@ with gr.Blocks() as demo:
60
  )
61
 
62
  opinion = gr.Textbox(
63
- label="Opinion", info="Paste opinion text here or select from dropdown"
64
  )
65
  with gr.Column():
66
  with gr.Row():
 
33
  return gr.CheckboxGroup(
34
  judges_by_year[year],
35
  value=judges_by_year[year],
36
+ label="Select Justices",
37
  )
38
 
39
 
 
42
  with gr.Column():
43
  drop = gr.Dropdown(
44
  choices=sorted(choices),
45
+ label="List of Per Curiam Opinions",
46
+ info="Select a per curiam opinion from the dropdown menu and press the Predict Button",
47
  )
48
  year = gr.Slider(
49
  1994,
 
60
  )
61
 
62
  opinion = gr.Textbox(
63
+ label="Opinion", info="Paste opinion text here and press the Predict Button"
64
  )
65
  with gr.Column():
66
  with gr.Row():