Update app.py
Browse files
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())
|