Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ from datasets import load_dataset
|
|
5 |
import json
|
6 |
|
7 |
# pipe = pipeline(model="raminass/SCOTUS_AI_15", top_k=15, padding=True, truncation=True)
|
8 |
-
pipe = pipeline(model="raminass/SCOTUS_AI_V15_CURCUIT", top_k=15, padding=True, truncation=True)
|
|
|
9 |
|
10 |
all = load_dataset("raminass/full_opinions_1994_2020")
|
11 |
df = pd.DataFrame(all["train"])
|
|
|
5 |
import json
|
6 |
|
7 |
# pipe = pipeline(model="raminass/SCOTUS_AI_15", top_k=15, padding=True, truncation=True)
|
8 |
+
# pipe = pipeline(model="raminass/SCOTUS_AI_V15_CURCUIT", top_k=15, padding=True, truncation=True)
|
9 |
+
pipe = pipeline(model="raminass/SCOTUS_AI_V15_CURCUIT_V2", top_k=15, padding=True, truncation=True)
|
10 |
|
11 |
all = load_dataset("raminass/full_opinions_1994_2020")
|
12 |
df = pd.DataFrame(all["train"])
|