Spaces:
Sleeping
Sleeping
Update variables.py
Browse files- variables.py +41 -43
variables.py
CHANGED
@@ -124,51 +124,49 @@ Current Zoom States: {current_zoom_states}
|
|
124 |
Generate only the JSON response, maintaining strict JSON format."""
|
125 |
|
126 |
|
127 |
-
|
128 |
-
|
129 |
CONTEXTUAL_ZOOM_default_response = {
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
},
|
142 |
-
"available_zooms": {
|
143 |
-
"in": {
|
144 |
-
"range": [1800, 1900],
|
145 |
-
"explanation": "Zoom in to see more detail"
|
146 |
-
},
|
147 |
-
"out": {
|
148 |
-
"range": [1500, 2024],
|
149 |
-
"explanation": "Broader historical context"
|
150 |
-
}
|
151 |
-
}
|
152 |
-
},
|
153 |
-
"geographical": {
|
154 |
-
"current_zoom": {
|
155 |
-
"level": "continent",
|
156 |
-
"locations": [
|
157 |
-
{
|
158 |
-
"name": "Paris",
|
159 |
-
"lat": 48.8566,
|
160 |
-
"lon": 2.3522,
|
161 |
-
"relevance": "Default location"
|
162 |
-
}
|
163 |
-
]
|
164 |
-
}
|
165 |
},
|
166 |
-
"
|
167 |
-
"
|
168 |
-
"
|
169 |
-
"
|
170 |
-
|
|
|
|
|
|
|
171 |
}
|
172 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
}
|
174 |
-
|
|
|
|
124 |
Generate only the JSON response, maintaining strict JSON format."""
|
125 |
|
126 |
|
|
|
|
|
127 |
CONTEXTUAL_ZOOM_default_response = {
|
128 |
+
"analysis": {
|
129 |
+
"query_focus": "Default focus",
|
130 |
+
"historical_context": "Default historical context"
|
131 |
+
},
|
132 |
+
"axis_configurations": {
|
133 |
+
"temporal": {
|
134 |
+
"component": "st.slider",
|
135 |
+
"current_zoom": {
|
136 |
+
"level": "century",
|
137 |
+
"range": [1700, 2000],
|
138 |
+
"explanation": "Default time range"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
},
|
140 |
+
"available_zooms": {
|
141 |
+
"in": {
|
142 |
+
"range": [1800, 1900],
|
143 |
+
"explanation": "Zoom in to see more detail"
|
144 |
+
},
|
145 |
+
"out": {
|
146 |
+
"range": [1500, 2024],
|
147 |
+
"explanation": "Broader historical context"
|
148 |
}
|
149 |
}
|
150 |
+
},
|
151 |
+
"geographical": {
|
152 |
+
"current_zoom": {
|
153 |
+
"level": "continent",
|
154 |
+
"locations": [
|
155 |
+
{
|
156 |
+
"name": "Paris",
|
157 |
+
"lat": 48.8566,
|
158 |
+
"lon": 2.3522,
|
159 |
+
"relevance": "Default location"
|
160 |
+
}
|
161 |
+
]
|
162 |
+
}
|
163 |
+
},
|
164 |
+
"style": {
|
165 |
+
"current_zoom": {
|
166 |
+
"level": "movement",
|
167 |
+
"options": ["Classical", "Modern"],
|
168 |
+
"explanation": "Default art movements"
|
169 |
+
}
|
170 |
}
|
171 |
+
}
|
172 |
+
}
|