pragnakalp
commited on
Commit
•
ec9af30
1
Parent(s):
7029dcf
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 |
-
hf_writer = gr.HuggingFaceDatasetSaver(
|
34 |
def get_device_ip_address():
|
35 |
|
36 |
if os.name == "nt":
|
|
|
29 |
# os.mkdir('images')
|
30 |
# print("create folder--->")
|
31 |
|
32 |
+
HF_TOKEN1 = os.getenv('HF_TOKEN')
|
33 |
+
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN1, 'OCR-image-to-text')
|
34 |
def get_device_ip_address():
|
35 |
|
36 |
if os.name == "nt":
|