Skip to content

Commit

Permalink
docs and read url
Browse files Browse the repository at this point in the history
  • Loading branch information
iamaziz committed Sep 9, 2022
1 parent 3d492aa commit d35712a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
5 changes: 5 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("&&")
Expand Down

0 comments on commit d35712a

Please sign in to comment.