Spaces:
Sleeping
Sleeping
stream try#2
Browse files
app.py
CHANGED
|
@@ -69,7 +69,6 @@ def handle_submit():
|
|
| 69 |
answer += chunk['choices'][0]['delta']['content']
|
| 70 |
placeholder.markdown(f'<div class="scrollable-div"><p>{answer}</p></div>', unsafe_allow_html=True)
|
| 71 |
st.session_state.conversation = f"<p>{answer}</p>" + st.session_state.conversation
|
| 72 |
-
placeholder.empty()
|
| 73 |
else:
|
| 74 |
st.session_state.conversation(f"<p><strong>Adrega AI:</strong>: Please enter a question.")
|
| 75 |
|
|
|
|
| 69 |
answer += chunk['choices'][0]['delta']['content']
|
| 70 |
placeholder.markdown(f'<div class="scrollable-div"><p>{answer}</p></div>', unsafe_allow_html=True)
|
| 71 |
st.session_state.conversation = f"<p>{answer}</p>" + st.session_state.conversation
|
|
|
|
| 72 |
else:
|
| 73 |
st.session_state.conversation(f"<p><strong>Adrega AI:</strong>: Please enter a question.")
|
| 74 |
|