Skip to content

Commit

Permalink
Use https instead of http in hello.py (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx authored Sep 27, 2024
1 parent 812d57b commit 42d2f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/api-examples-source/hello/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def mapping_demo():
@st.cache_data
def from_data_file(filename):
url = (
"http://raw.githubusercontent.com/streamlit/"
"https://raw.githubusercontent.com/streamlit/"
"example-data/master/hello/v1/%s" % filename
)
return pd.read_json(url)
Expand Down Expand Up @@ -183,7 +183,7 @@ def data_frame_demo():

@st.cache_data
def get_UN_data():
AWS_BUCKET_URL = "http://streamlit-demo-data.s3-us-west-2.amazonaws.com"
AWS_BUCKET_URL = "https://streamlit-demo-data.s3-us-west-2.amazonaws.com"
df = pd.read_csv(AWS_BUCKET_URL + "/agri.csv.gz")
return df.set_index("Region")

Expand Down

0 comments on commit 42d2f3c

Please sign in to comment.