Spaces:
Sleeping
Sleeping
root commited on
Commit ·
ff6e96d
1
Parent(s): 29f174d
Add application file
Browse files
app.py
CHANGED
|
@@ -148,7 +148,21 @@ def get_completion_from_messages(messages, model="gpt-3.5-turbo", temperature=0)
|
|
| 148 |
return response.choices[0].message["content"]
|
| 149 |
|
| 150 |
def main():
|
|
|
|
|
|
|
|
|
|
| 151 |
st.title("Chat With Java")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
st.markdown("""
|
| 153 |
Welcome to Chat With Java, your friendly waiter who's here to assist you with your dining choices. \
|
| 154 |
From beverages to mouthwatering dishes and delightful desserts, I'm here to make your dining experience exceptional!\
|
|
|
|
| 148 |
return response.choices[0].message["content"]
|
| 149 |
|
| 150 |
def main():
|
| 151 |
+
def main():
|
| 152 |
+
page_bg_color = "#8B0000" # Dark red background color
|
| 153 |
+
|
| 154 |
st.title("Chat With Java")
|
| 155 |
+
st.markdown(f"""
|
| 156 |
+
<style>
|
| 157 |
+
.reportview-container {{
|
| 158 |
+
background-color: {page_bg_color};
|
| 159 |
+
color: white;
|
| 160 |
+
}}
|
| 161 |
+
.sidebar .sidebar-content {{
|
| 162 |
+
background-color: {page_bg_color};
|
| 163 |
+
}}
|
| 164 |
+
</style>
|
| 165 |
+
""", unsafe_allow_html=True)
|
| 166 |
st.markdown("""
|
| 167 |
Welcome to Chat With Java, your friendly waiter who's here to assist you with your dining choices. \
|
| 168 |
From beverages to mouthwatering dishes and delightful desserts, I'm here to make your dining experience exceptional!\
|