Mpavan45 commited on
Commit
639fdc9
Β·
verified Β·
1 Parent(s): 536bd2c

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +8 -0
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: