File size: 737 Bytes
5964120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- coding: utf-8 -*-
"""app.ipynb

Automatically generated by Colaboratory.

Original file is located at
    https://colab.research.google.com/drive/1bfEMI_uZXaosL5o-R1i1eTanG9-2hP7Y

*`Uma Namboothiripad Assignment #2`*
"""

import streamlit as st
import pandas as pd
import plotly.express as px
import urllib

st.title("Plan ahead so you know where you are going once you land in Barcelona.  Choose your hotel here!")

st.markdown("Barcelona has one of the highest pickpockets of any city in Europe.  You better get a hotel before you go")

n_results = st.slider('How many choices in hotels do you want?', 1,2, 3)

with open("barcelona.pkl", "rb") as file1: 
    df = pkl.load(file1)

if st.button('Show Hotels'):
  st.dataframe(df)