Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
zaidmehdi
/
arabic-dialect-classifier
like
1
Sleeping
App
Files
Files
Community
1784a22
arabic-dialect-classifier
/
src
/
main.py
zaidmehdi
loading model
1784a22
9 months ago
raw
Copy download link
history
blame
181 Bytes
import
pickle
def
main
():
with
open
(
"../models/logistic_regression.pkl"
,
"rb"
)
as
f:
model = pickle.load(f)
return
if
__name__ ==
"__main__"
:
main()