Spaces:
Runtime error
Runtime error
Commit
·
bcad6bc
1
Parent(s):
90350be
Update generator.py
Browse files- generator.py +1 -1
generator.py
CHANGED
@@ -39,7 +39,7 @@ def load_model():
|
|
39 |
model = pickle.load(open('model.sav','rb'))
|
40 |
tok = AlbertTokenizer.from_pretrained("ahotrod/albert_xxlargev1_squad2_512")
|
41 |
# return hfm, hft,tok, model
|
42 |
-
return hfm, hft,
|
43 |
|
44 |
hfmodel, hftokenizer, tok, model = load_model()
|
45 |
|
|
|
39 |
model = pickle.load(open('model.sav','rb'))
|
40 |
tok = AlbertTokenizer.from_pretrained("ahotrod/albert_xxlargev1_squad2_512")
|
41 |
# return hfm, hft,tok, model
|
42 |
+
return hfm, hft, tokenzer, model
|
43 |
|
44 |
hfmodel, hftokenizer, tok, model = load_model()
|
45 |
|