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