From 54524e7a92cac2c722f2bc16c4a1634cab1882e4 Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Sun, 22 Sep 2024 02:15:29 +0900 Subject: [PATCH] Fix packages/sharing-editor/public/samples/012_hello/hello.py (#1133) --- packages/sharing-editor/bin/sample-diffs/012_hello/hello.py | 2 +- packages/sharing-editor/public/samples/012_hello/hello.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sharing-editor/bin/sample-diffs/012_hello/hello.py b/packages/sharing-editor/bin/sample-diffs/012_hello/hello.py index f6529ffcc..ad25f02bb 100644 --- a/packages/sharing-editor/bin/sample-diffs/012_hello/hello.py +++ b/packages/sharing-editor/bin/sample-diffs/012_hello/hello.py @@ -21,7 +21,7 @@ --- > async def data_frame_demo(): 186,187c186,188 -< 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") --- > # AWS_BUCKET_URL = "http://streamlit-demo-data.s3-us-west-2.amazonaws.com" diff --git a/packages/sharing-editor/public/samples/012_hello/hello.py b/packages/sharing-editor/public/samples/012_hello/hello.py index dd3e6a665..4317ca421 100644 --- a/packages/sharing-editor/public/samples/012_hello/hello.py +++ b/packages/sharing-editor/public/samples/012_hello/hello.py @@ -50,7 +50,7 @@ async 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)