capradeepgujaran commited on
Commit
f3561cd
·
verified ·
1 Parent(s): 88efb3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def analyze_construction_image(image):
107
  analysis_text += "\n"
108
 
109
  logger.info("Analysis completed successfully")
110
- return [(None, analysis_text)], ""
111
  except Exception as e:
112
  logger.error(f"Error during image analysis: {str(e)}")
113
  logger.error(traceback.format_exc())
 
107
  analysis_text += "\n"
108
 
109
  logger.info("Analysis completed successfully")
110
+ return [(None, analysis_text)], "" # Return as a list with a single tuple
111
  except Exception as e:
112
  logger.error(f"Error during image analysis: {str(e)}")
113
  logger.error(traceback.format_exc())