Update app.py
Browse files
app.py
CHANGED
|
@@ -186,7 +186,9 @@ def main():
|
|
| 186 |
|
| 187 |
|
| 188 |
# Check for query parameters for file editing
|
| 189 |
-
query_params = st.query_params()
|
|
|
|
|
|
|
| 190 |
file_to_edit = query_params.get('file_to_edit', [None])[0]
|
| 191 |
|
| 192 |
if file_to_edit and os.path.exists(file_to_edit):
|
|
|
|
| 186 |
|
| 187 |
|
| 188 |
# Check for query parameters for file editing
|
| 189 |
+
#query_params = st.query_params()
|
| 190 |
+
query_params = st.experimental_get_query_params()
|
| 191 |
+
|
| 192 |
file_to_edit = query_params.get('file_to_edit', [None])[0]
|
| 193 |
|
| 194 |
if file_to_edit and os.path.exists(file_to_edit):
|