Spaces:
Sleeping
Sleeping
Update app.py
Browse filesupdate description
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
|
| 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
|
| 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
|
| 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():
|