pragnakalp
commited on
Commit
•
f82c6f1
1
Parent(s):
7c327c8
Update app.py
Browse files
app.py
CHANGED
@@ -29,10 +29,8 @@ import smtplib
|
|
29 |
# os.mkdir('images')
|
30 |
# print("create folder--->")
|
31 |
|
32 |
-
HF_TOKEN = os.getenv(
|
33 |
-
# name = 'pragnakalp-all-log'
|
34 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, 'OCR-image-to-text-flags')
|
35 |
-
print(os.getcwd())
|
36 |
def get_device_ip_address():
|
37 |
|
38 |
if os.name == "nt":
|
|
|
29 |
# os.mkdir('images')
|
30 |
# print("create folder--->")
|
31 |
|
32 |
+
HF_TOKEN = os.getenv('HF')
|
|
|
33 |
hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, 'OCR-image-to-text-flags')
|
|
|
34 |
def get_device_ip_address():
|
35 |
|
36 |
if os.name == "nt":
|