Spaces:
Running
Running
pragnakalp
commited on
Commit
·
a1c4f2e
1
Parent(s):
2ca8f04
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ import socket
|
|
19 |
from huggingface_hub import HfApi
|
20 |
import smtplib
|
21 |
|
22 |
-
HF_TOKEN = os.
|
23 |
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$",type(HF_TOKEN))
|
24 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN,'pragnakalp/OCR-img-to-text')
|
25 |
|
|
|
19 |
from huggingface_hub import HfApi
|
20 |
import smtplib
|
21 |
|
22 |
+
HF_TOKEN = os.environ.get("HF_TOKEN")
|
23 |
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$",type(HF_TOKEN))
|
24 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN,'pragnakalp/OCR-img-to-text')
|
25 |
|