raminass commited on
Commit
5447c0b
1 Parent(s): 7251624

Update app.py

Browse files

new model with full data

Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -4,7 +4,9 @@ from utils import *
4
  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
  all = load_dataset("raminass/full_opinions_1994_2020")
9
  df = pd.DataFrame(all["train"])
10
  choices = []
 
4
  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", top_k=15, padding=True, truncation=True)
9
+
10
  all = load_dataset("raminass/full_opinions_1994_2020")
11
  df = pd.DataFrame(all["train"])
12
  choices = []