namb0010 commited on
Commit
5f028c1
·
1 Parent(s): 747ac0d

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -37
app.py DELETED
@@ -1,37 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- """app.ipynb
3
-
4
- Automatically generated by Colaboratory.
5
-
6
- Original file is located at
7
- https://colab.research.google.com/drive/1bfEMI_uZXaosL5o-R1i1eTanG9-2hP7Y
8
-
9
- *`Uma Namboothiripad Assignment #2`*
10
- """
11
-
12
- import streamlit as st
13
- import pandas as pd
14
- import urllib
15
-
16
- st.title("Plan ahead so you know where you are going once you land in Barcelona. Choose your hotel here!")
17
-
18
- st.markdown("Barcelona has one of the highest pickpockets of any city in Europe. You better get a hotel before you go")
19
-
20
- text = st.text_input('What attributes do you want in a hotel:')
21
-
22
- n_results = st.slider('How many choices in hotels do you want?', 1,5,8)
23
-
24
- dataurl = 'https://colab.research.google.com/drive/1_sofOjXRDnId49NOup4sdiVS1E_51T-b?usp=sharing'
25
- @st.cache(persist=True)
26
-
27
- 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
-
32
- def run():
33
- st.subheader("Options for hotels in Barcelona")
34
- df = load_data()
35
- st.dataframe(df)
36
- st.button('Show Hotels')
37
-