Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ class RAGSystem:
|
|
112 |
return ""
|
113 |
|
114 |
class ImageAnalyzer:
|
115 |
-
def __init__(
|
116 |
self.device = "cpu" # Force CPU usage for better compatibility
|
117 |
self.defect_classes = ["spalling", "structural_cracks", "surface_deterioration"]
|
118 |
self._model = None
|
|
|
112 |
return ""
|
113 |
|
114 |
class ImageAnalyzer:
|
115 |
+
def __init__(self):
|
116 |
self.device = "cpu" # Force CPU usage for better compatibility
|
117 |
self.defect_classes = ["spalling", "structural_cracks", "surface_deterioration"]
|
118 |
self._model = None
|