Spaces:
Runtime error
Runtime error
edited home
Browse files
Home.py
CHANGED
@@ -153,13 +153,13 @@ post_prompt = """Do not give me any information that is not included in the docu
|
|
153 |
provide more context in the next query. Do not include games that contain the queried game in the title.
|
154 |
"""
|
155 |
|
156 |
-
st.header("🕹️ GameInsightify
|
157 |
-
|
158 |
# Description for users
|
159 |
-
st.markdown(""
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
|
164 |
# Initialize chat history
|
165 |
if "messages" not in st.session_state:
|
@@ -170,7 +170,7 @@ if 'gamenames' not in st.session_state:
|
|
170 |
# Slider on range and button to clear chat history
|
171 |
col1, col2= st.columns([8,2])
|
172 |
with col1:
|
173 |
-
|
174 |
with col2:
|
175 |
if st.button("Clear chat"):
|
176 |
st.session_state.messages = []
|
|
|
153 |
provide more context in the next query. Do not include games that contain the queried game in the title.
|
154 |
"""
|
155 |
|
156 |
+
st.header("🕹️ GameInsightify")
|
157 |
+
st.title(f"Your Personal :green[Game Recommender]")
|
158 |
# Description for users
|
159 |
+
st.markdown("<p style='text-align: center;'>Welcome to GameInsightify! This chatbot will help you find the perfect game based on your preferences. \nJust type in what you're looking for in a game, and let our AI assistant provide recommendations.\n</h1>",
|
160 |
+
unsafe_allow_html=True)
|
161 |
+
st.image('./data/img/demoGIF.gif', caption='demonstration on using our app')
|
162 |
+
st.markdown("""***""")
|
163 |
|
164 |
# Initialize chat history
|
165 |
if "messages" not in st.session_state:
|
|
|
170 |
# Slider on range and button to clear chat history
|
171 |
col1, col2= st.columns([8,2])
|
172 |
with col1:
|
173 |
+
pass
|
174 |
with col2:
|
175 |
if st.button("Clear chat"):
|
176 |
st.session_state.messages = []
|