Spaces:
Sleeping
Sleeping
Update app.py
Browse filesupdate drop list
app.py
CHANGED
|
@@ -8,7 +8,9 @@ import json
|
|
| 8 |
# pipe = pipeline(model="raminass/SCOTUS_AI_V15_CURCUIT", top_k=15, padding=True, truncation=True)
|
| 9 |
pipe = pipeline(model="raminass/SCOTUS_AI_V17_CURCUIT_V1", top_k=17, padding=True, truncation=True)
|
| 10 |
|
| 11 |
-
all = load_dataset("raminass/full_opinions_1994_2020")
|
|
|
|
|
|
|
| 12 |
df = pd.DataFrame(all["train"])
|
| 13 |
choices = []
|
| 14 |
for index, row in df[df.category == "per_curiam"].iterrows():
|
|
|
|
| 8 |
# pipe = pipeline(model="raminass/SCOTUS_AI_V15_CURCUIT", top_k=15, padding=True, truncation=True)
|
| 9 |
pipe = pipeline(model="raminass/SCOTUS_AI_V17_CURCUIT_V1", top_k=17, padding=True, truncation=True)
|
| 10 |
|
| 11 |
+
# all = load_dataset("raminass/full_opinions_1994_2020")
|
| 12 |
+
all = load_dataset("raminass/opinions-94-23")
|
| 13 |
+
|
| 14 |
df = pd.DataFrame(all["train"])
|
| 15 |
choices = []
|
| 16 |
for index, row in df[df.category == "per_curiam"].iterrows():
|