Spaces:
Sleeping
Sleeping
add filter_options.json
Browse files
app.py
CHANGED
|
@@ -218,7 +218,7 @@ def serialize_documents(sources):
|
|
| 218 |
@st.cache_data
|
| 219 |
def load_filter_options():
|
| 220 |
try:
|
| 221 |
-
with open("filter_options.json", "r") as f:
|
| 222 |
return json.load(f)
|
| 223 |
except FileNotFoundError:
|
| 224 |
st.info([x for x in os.listdir() if x.endswith('.json')])
|
|
|
|
| 218 |
@st.cache_data
|
| 219 |
def load_filter_options():
|
| 220 |
try:
|
| 221 |
+
with open("src/config/filter_options.json", "r") as f:
|
| 222 |
return json.load(f)
|
| 223 |
except FileNotFoundError:
|
| 224 |
st.info([x for x in os.listdir() if x.endswith('.json')])
|