Nischay103
commited on
Commit
•
5c368df
1
Parent(s):
e73cdad
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from torchvision import transforms as T
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
from tokenizer import Tokenizer
|
7 |
|
8 |
-
TOKEN
|
9 |
repo_id = "Nischay103/captcha_recognition"
|
10 |
model_file = 'captcha_model.pt'
|
11 |
model_path = hf_hub_download(repo_id=repo_id, filename=model_file, token=TOKEN)
|
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
from tokenizer import Tokenizer
|
7 |
|
8 |
+
TOKEN = os.getenv('hf_read_token')
|
9 |
repo_id = "Nischay103/captcha_recognition"
|
10 |
model_file = 'captcha_model.pt'
|
11 |
model_path = hf_hub_download(repo_id=repo_id, filename=model_file, token=TOKEN)
|