tharu22 commited on
Commit
b76c7fe
·
1 Parent(s): d7c9cba

changed con

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ selected_continent = st.sidebar.selectbox(
22
  )
23
 
24
  # Fetch data from the FastAPI endpoint
25
- if st.sidebar.button("/continent/{continent_name"):
26
  # Call FastAPI to get continent data
27
  response = requests.get(f"{API_URL}/continent/{selected_continent}")
28
 
 
22
  )
23
 
24
  # Fetch data from the FastAPI endpoint
25
+ if st.sidebar.button("Get Data"):
26
  # Call FastAPI to get continent data
27
  response = requests.get(f"{API_URL}/continent/{selected_continent}")
28