pragnakalp
commited on
Commit
•
77af2c6
1
Parent(s):
eaef3a5
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ import smtplib
|
|
29 |
# os.mkdir('images')
|
30 |
# print("create folder--->")
|
31 |
|
32 |
-
|
33 |
-
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$",type(
|
34 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN1,'OCR-image-to-text',True,True)
|
35 |
def get_device_ip_address():
|
36 |
|
|
|
29 |
# os.mkdir('images')
|
30 |
# print("create folder--->")
|
31 |
|
32 |
+
HF_TOKEN = os.getenv('HF_TOKEN')
|
33 |
+
print("$$$$$$$$$$$$$$$$$$$$$$$$$$$$",type(HF_TOKEN))
|
34 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN1,'OCR-image-to-text',True,True)
|
35 |
def get_device_ip_address():
|
36 |
|