Spaces:
Sleeping
Sleeping
root commited on
Commit ·
7b85fba
1
Parent(s): ff6e96d
Add application file
Browse files
app.py
CHANGED
|
@@ -148,7 +148,6 @@ 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 |
-
def main():
|
| 152 |
page_bg_color = "#8B0000" # Dark red background color
|
| 153 |
|
| 154 |
st.title("Chat With Java")
|
|
@@ -163,6 +162,7 @@ def main():
|
|
| 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!\
|
|
|
|
| 148 |
return response.choices[0].message["content"]
|
| 149 |
|
| 150 |
def main():
|
|
|
|
| 151 |
page_bg_color = "#8B0000" # Dark red background color
|
| 152 |
|
| 153 |
st.title("Chat With Java")
|
|
|
|
| 162 |
}}
|
| 163 |
</style>
|
| 164 |
""", unsafe_allow_html=True)
|
| 165 |
+
|
| 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!\
|