Tevfik istanbullu
commited on
Commit
•
c00feaf
1
Parent(s):
4853ece
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
from datasets import Dataset, DatasetDict, load_dataset
|
4 |
from huggingface_hub import login
|
5 |
|
6 |
-
token =
|
7 |
login(token, add_to_git_credential=True,write_permission=True )
|
8 |
model = joblib.load('arabic_text_classifier.pkl')
|
9 |
vectorizer = joblib.load('tfidf_vectorizer.pkl')
|
|
|
3 |
from datasets import Dataset, DatasetDict, load_dataset
|
4 |
from huggingface_hub import login
|
5 |
|
6 |
+
token = "HF_TOKEN"
|
7 |
login(token, add_to_git_credential=True,write_permission=True )
|
8 |
model = joblib.load('arabic_text_classifier.pkl')
|
9 |
vectorizer = joblib.load('tfidf_vectorizer.pkl')
|