Spaces:
Running
on
Zero
Running
on
Zero
Update object_description_generator.py
Browse files
object_description_generator.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import logging
|
2 |
import traceback
|
3 |
from typing import Dict, List, Tuple, Optional, Any
|
@@ -1855,4 +1856,4 @@ class ObjectDescriptionGenerator:
|
|
1855 |
|
1856 |
except Exception as e:
|
1857 |
self.logger.error(f"Error updating configuration: {str(e)}")
|
1858 |
-
raise ObjectDescriptionError(f"Failed to update configuration: {str(e)}") from e
|
|
|
1 |
+
import re
|
2 |
import logging
|
3 |
import traceback
|
4 |
from typing import Dict, List, Tuple, Optional, Any
|
|
|
1856 |
|
1857 |
except Exception as e:
|
1858 |
self.logger.error(f"Error updating configuration: {str(e)}")
|
1859 |
+
raise ObjectDescriptionError(f"Failed to update configuration: {str(e)}") from e
|