namb0010 commited on
Commit
47630d3
·
1 Parent(s): 3d3416f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -28,11 +28,9 @@ def load_data():
28
  data_url = urllib.request.urlopen('https://colab.research.google.com/drive/1_sofOjXRDnId49NOup4sdiVS1E_51T-b?usp=sharing')
29
  df = pd.read_csv('HotelListInBarcelona__en2019100120191005.csv')
30
  return(df)
31
- if st.button('Show Hotels'):
32
- if len(text) >500:
33
- st.write('Okay boomer, try to limit your expectations and reduce the number of characters in your search')
34
- if disp_head=="Head":
35
- st.dataframe(df.head())
36
  else:
37
  st.dataframe(df)
38
 
 
28
  data_url = urllib.request.urlopen('https://colab.research.google.com/drive/1_sofOjXRDnId49NOup4sdiVS1E_51T-b?usp=sharing')
29
  df = pd.read_csv('HotelListInBarcelona__en2019100120191005.csv')
30
  return(df)
31
+ if st.button('Show Hotels'):
32
+ if len(text) >500:
33
+ st.write('Okay boomer, try to limit your expectations and reduce the number of characters in your search')
 
 
34
  else:
35
  st.dataframe(df)
36