Spaces:
Runtime error
Runtime error
sabari
commited on
Commit
•
207b811
1
Parent(s):
e934ef6
new codes1
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -33,7 +33,7 @@ for i, url in enumerate(file_urls):
|
|
33 |
else:
|
34 |
download_file(
|
35 |
file_urls[i],
|
36 |
-
f"image_{i}.
|
37 |
)
|
38 |
|
39 |
|
@@ -97,7 +97,7 @@ def getOCRResults(image_path):
|
|
97 |
ocrAPP = OCR()
|
98 |
|
99 |
video_path = [['video.mp4']]
|
100 |
-
path = [['image_0.
|
101 |
|
102 |
|
103 |
inputs_image = [
|
|
|
33 |
else:
|
34 |
download_file(
|
35 |
file_urls[i],
|
36 |
+
f"image_{i}.png"
|
37 |
)
|
38 |
|
39 |
|
|
|
97 |
ocrAPP = OCR()
|
98 |
|
99 |
video_path = [['video.mp4']]
|
100 |
+
path = [['image_0.png'], ['image_1.png'],['image_2.png']]
|
101 |
|
102 |
|
103 |
inputs_image = [
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
opencv-python
|
2 |
-
tensorflow==2.
|
3 |
numpy
|
4 |
flask
|
5 |
scikit-image
|
|
|
1 |
opencv-python
|
2 |
+
tensorflow==2.8.0
|
3 |
numpy
|
4 |
flask
|
5 |
scikit-image
|