Spaces:
Runtime error
Runtime error
# -*- 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) |