Spaces:
Sleeping
Sleeping
okeowo1014
commited on
Commit
•
b6419e7
1
Parent(s):
d4db297
Update tr.py
Browse files
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')
|