Spaces:
Sleeping
Sleeping
Commit
·
78a4246
1
Parent(s):
9127753
Update app.py
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def generate_ocr(Method,img):
|
|
144 |
commit_url = repo.push_to_hub()
|
145 |
print(commit_url)
|
146 |
try:
|
147 |
-
dataset = load_dataset("pragnakalp/OCR-img-to-text",
|
148 |
print(dataset.features)
|
149 |
except Exception as e:
|
150 |
print("error in loading data",e)
|
|
|
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)
|