Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
|
@@ -1,11 +1,19 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
|
|
|
|
|
|
| 4 |
|
| 5 |
st.markdown("""
|
| 6 |
<h1 style="text-align:center; color:orange;">Hotel Data Analysis & Machine Learning</h1>
|
| 7 |
""", unsafe_allow_html=True)
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
st.markdown("""
|
| 10 |
## Predicting Customer Preferences and Optimizing Pricing:
|
| 11 |
#### π Data Exploration and Preprocessing:
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import pandas as pd
|
| 3 |
import numpy as np
|
| 4 |
+
import gradio as gr
|
| 5 |
+
|
| 6 |
|
| 7 |
st.markdown("""
|
| 8 |
<h1 style="text-align:center; color:orange;">Hotel Data Analysis & Machine Learning</h1>
|
| 9 |
""", unsafe_allow_html=True)
|
| 10 |
|
| 11 |
+
def show_image():
|
| 12 |
+
return r"C:\Users\user\Downloads\Beige Neutral Flowchart Graph Template.gif"
|
| 13 |
+
|
| 14 |
+
interface = gr.Interface(fn=show_image, inputs=None, outputs="image")
|
| 15 |
+
interface.launch()
|
| 16 |
+
|
| 17 |
st.markdown("""
|
| 18 |
## Predicting Customer Preferences and Optimizing Pricing:
|
| 19 |
#### π Data Exploration and Preprocessing:
|