Tevfik istanbullu commited on
Commit
c00feaf
1 Parent(s): 4853ece

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = os.environ.get("New_Token", None)
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')