Update app.py
#2
by
micabng
- opened
app.py
CHANGED
@@ -201,7 +201,7 @@ def get_download_link(file):
|
|
201 |
|
202 |
def main():
|
203 |
st.sidebar.title('π Web Datasets Bulk Downloader')
|
204 |
-
query_params = st.
|
205 |
file_to_edit = query_params.get('file_to_edit', [None])[0]
|
206 |
if file_to_edit and os.path.exists(file_to_edit):
|
207 |
file_editor(file_to_edit)
|
|
|
201 |
|
202 |
def main():
|
203 |
st.sidebar.title('π Web Datasets Bulk Downloader')
|
204 |
+
query_params = st.query_params()
|
205 |
file_to_edit = query_params.get('file_to_edit', [None])[0]
|
206 |
if file_to_edit and os.path.exists(file_to_edit):
|
207 |
file_editor(file_to_edit)
|