Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -295,7 +295,7 @@ def measureproject(result,dataDoc=0,img=0,dxffile=0):
|
|
| 295 |
print(dbPath,result[0])
|
| 296 |
#
|
| 297 |
pdflink= tsadropboxretrieval.uploadanyFile(doc=doc,path=dbPath,pdfname=result[0]) #doc=doc,pdfname=path,pdfpath=pdfpath+'Measured Plan/'
|
| 298 |
-
|
| 299 |
_, buffer = cv2.imencode('.png', outputimg)
|
| 300 |
arr=[ base64.b64encode(buffer).decode('utf-8'),SimilarAreaDictionary.to_dict(), spreadsheet_url,spreadsheetId,[],list1.to_dict(),pdflink,hatched_areas,namepathArr]#,hatched_areas,namepathArr]# , spreadsheetId, spreadsheet_url , list1.to_dict()]
|
| 301 |
################################# -2.8- #################################
|
|
|
|
| 295 |
print(dbPath,result[0])
|
| 296 |
#
|
| 297 |
pdflink= tsadropboxretrieval.uploadanyFile(doc=doc,path=dbPath,pdfname=result[0]) #doc=doc,pdfname=path,pdfpath=pdfpath+'Measured Plan/'
|
| 298 |
+
print('uploaded')
|
| 299 |
_, buffer = cv2.imencode('.png', outputimg)
|
| 300 |
arr=[ base64.b64encode(buffer).decode('utf-8'),SimilarAreaDictionary.to_dict(), spreadsheet_url,spreadsheetId,[],list1.to_dict(),pdflink,hatched_areas,namepathArr]#,hatched_areas,namepathArr]# , spreadsheetId, spreadsheet_url , list1.to_dict()]
|
| 301 |
################################# -2.8- #################################
|