diff --git a/README.md b/README.md index 21d9a48..746bd63 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ TL;DR **Seeing tabular data from a different angle** ## Getting Started -To start, go to [the deployed app](https://bit.ly/DataScope), and upload a new dataset or select from the sample +To start, go to [the deployed app](https://bit.ly/DataScopeApp), and upload a new dataset or select from the sample datasets. diff --git a/app.py b/app.py index 3d0820a..c0b7b0d 100644 --- a/app.py +++ b/app.py @@ -131,6 +131,11 @@ def load_dataset(container): uploaded = st.file_uploader(label=txt) choice = uploaded.name if uploaded else choice + with st2: + url = st.text_input("Or read from a url file (supported: .csv and .tsv)", placeholder="Enter URL") + if url: + return _read_csv(url) + st.session_state.fit_columns = False if choice.endswith(".csv") else True st.session_state.file_name = choice params = st2.text_input("", placeholder="sep && skip_rows").split("&&")