Spaces:
Running
Running
pragnakalp
commited on
Commit
•
d14fa80
1
Parent(s):
9e79a73
Update save_data.py
Browse files- save_data.py +2 -3
save_data.py
CHANGED
@@ -63,7 +63,7 @@ def dump_json(thing,file):
|
|
63 |
with open(file,'w+',encoding="utf8") as f:
|
64 |
json.dump(thing,f)
|
65 |
|
66 |
-
def flag(
|
67 |
|
68 |
print("saving data------------------------")
|
69 |
# try:
|
@@ -121,5 +121,4 @@ def flag(resume_file_path,get_pdf_name,final_output):
|
|
121 |
x = requests.post(url, json = myobj)
|
122 |
print("mail status code",x.status_code)
|
123 |
|
124 |
-
return "*****Logs save successfully!!!!"
|
125 |
-
|
|
|
63 |
with open(file,'w+',encoding="utf8") as f:
|
64 |
json.dump(thing,f)
|
65 |
|
66 |
+
def flag(Method,text_output,input_image):
|
67 |
|
68 |
print("saving data------------------------")
|
69 |
# try:
|
|
|
121 |
x = requests.post(url, json = myobj)
|
122 |
print("mail status code",x.status_code)
|
123 |
|
124 |
+
return "*****Logs save successfully!!!!"
|
|