DJSCE-ACM-Research commited on
Commit
9e64396
·
1 Parent(s): 36a0850

Upload shared.py

Browse files
Files changed (1) hide show
  1. shared.py +18 -0
shared.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # Shared in-memory storage and constants to avoid circular imports and duplicate module loading
3
+ # ensuring all parts of the application access the same state.
4
+
5
+ import logging
6
+
7
+ # Configure logger
8
+ logger = logging.getLogger(__name__)
9
+
10
+ # Global Image Store for Chat Agent (In-Memory for Demo)
11
+ # In production, use Redis or S3/Blob storage
12
+ IMAGE_STORE = {}
13
+
14
+ # We can also re-export or define common constants here if needed by multiple modules
15
+ CLASS_NAMES = [
16
+ "Comminuted", "Greenstick", "Healthy", "Oblique",
17
+ "Oblique Displaced", "Spiral", "Transverse", "Transverse Displaced"
18
+ ]