Roberta2024 commited on
Commit
9abd52a
·
verified ·
1 Parent(s): d88785a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ import re
10
  import streamlit as st
11
 
12
  # Streamlit title and description
13
- st.title("Restaurant Data Extractor")
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("Fetch Restaurant Data"):
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