Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def generate_chat_responses(chat_completion) -> Generator[str, None, None]:
|
|
101 |
if chunk.choices[0].delta.content:
|
102 |
yield chunk.choices[0].delta.content
|
103 |
|
104 |
-
if prompt := st.chat_input("Enter your prompt here..."
|
105 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
106 |
|
107 |
with st.chat_message("user", avatar="❓"):
|
|
|
101 |
if chunk.choices[0].delta.content:
|
102 |
yield chunk.choices[0].delta.content
|
103 |
|
104 |
+
if prompt := st.chat_input("Enter your prompt here..."):
|
105 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
106 |
|
107 |
with st.chat_message("user", avatar="❓"):
|