Spaces:
Running
Running
Commit
·
0be025c
1
Parent(s):
78a4246
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,11 +143,11 @@ def generate_ocr(Method,img):
|
|
| 143 |
writer.writerow(add_csv)
|
| 144 |
commit_url = repo.push_to_hub()
|
| 145 |
print(commit_url)
|
| 146 |
-
try:
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
except Exception as e:
|
| 150 |
-
|
| 151 |
|
| 152 |
|
| 153 |
# with open(DATA_FILE, "a") as csvfile:
|
|
|
|
| 143 |
writer.writerow(add_csv)
|
| 144 |
commit_url = repo.push_to_hub()
|
| 145 |
print(commit_url)
|
| 146 |
+
# try:
|
| 147 |
+
# dataset = load_dataset("pragnakalp/OCR-img-to-text", streaming=True)
|
| 148 |
+
# print(dataset.features)
|
| 149 |
+
# except Exception as e:
|
| 150 |
+
# print("error in loading data",e)
|
| 151 |
|
| 152 |
|
| 153 |
# with open(DATA_FILE, "a") as csvfile:
|