Spaces:
Running
Running
pragnakalp
commited on
Commit
•
18290e2
1
Parent(s):
f41e633
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def save_details(Method,text_output,img):
|
|
126 |
if text_output:
|
127 |
splitted_path = os.path.splitext(picture_path)
|
128 |
modified_picture_path = splitted_path[0] + curr_datetime + splitted_path[1]
|
129 |
-
cv2.imwrite(modified_picture_path, img)
|
130 |
input_img = modified_picture_path
|
131 |
try:
|
132 |
df = pd.read_csv("AllDetails.csv")
|
|
|
126 |
if text_output:
|
127 |
splitted_path = os.path.splitext(picture_path)
|
128 |
modified_picture_path = splitted_path[0] + curr_datetime + splitted_path[1]
|
129 |
+
cv2.imwrite("/home/user/app/",modified_picture_path, img)
|
130 |
input_img = modified_picture_path
|
131 |
try:
|
132 |
df = pd.read_csv("AllDetails.csv")
|