okeowo1014 commited on
Commit
b6419e7
1 Parent(s): d4db297

Update tr.py

Browse files
Files changed (1) hide show
  1. tr.py +1 -0
tr.py CHANGED
@@ -6,6 +6,7 @@ from tensorflow.keras.layers import Dense, Embedding, GlobalAveragePooling1D
6
  from tensorflow.keras.preprocessing.text import Tokenizer
7
  from tensorflow.keras.preprocessing.sequence import pad_sequences
8
  from sklearn.model_selection import train_test_split
 
9
 
10
  # Environment variable for Hugging Face token
11
  sac = os.getenv('accesstoken')
 
6
  from tensorflow.keras.preprocessing.text import Tokenizer
7
  from tensorflow.keras.preprocessing.sequence import pad_sequences
8
  from sklearn.model_selection import train_test_split
9
+ from huggingface_hub import push_to_hub_keras
10
 
11
  # Environment variable for Hugging Face token
12
  sac = os.getenv('accesstoken')