Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import re
|
|
10 |
import streamlit as st
|
11 |
|
12 |
# Streamlit title and description
|
13 |
-
st.title("
|
14 |
st.write("Extract restaurant data, visualize with a pie chart and bar chart, and display locations on a map.")
|
15 |
|
16 |
# Read data from Google Sheets
|
@@ -91,7 +91,7 @@ def fetch_data():
|
|
91 |
progress_bar.progress((idx + 1) / total_urls)
|
92 |
|
93 |
# Button to trigger data fetching
|
94 |
-
if st.button("
|
95 |
fetch_data()
|
96 |
|
97 |
# Save the DataFrame to CSV with UTF-8 encoding, including latitude and longitude
|
|
|
10 |
import streamlit as st
|
11 |
|
12 |
# Streamlit title and description
|
13 |
+
st.title("米其林餐廳指南爬蟲")
|
14 |
st.write("Extract restaurant data, visualize with a pie chart and bar chart, and display locations on a map.")
|
15 |
|
16 |
# Read data from Google Sheets
|
|
|
91 |
progress_bar.progress((idx + 1) / total_urls)
|
92 |
|
93 |
# Button to trigger data fetching
|
94 |
+
if st.button("爬取餐廳資料"):
|
95 |
fetch_data()
|
96 |
|
97 |
# Save the DataFrame to CSV with UTF-8 encoding, including latitude and longitude
|