Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def main():
|
|
40 |
|
41 |
# Save 'prompt_1' to the chat history
|
42 |
st.session_state['chat_history'] += "<div style='color: blue;'>You: </div><br><hr style='border: 1px solid black;'>"
|
43 |
-
st.session_state['chat_history'] += f"{prompt_1}"
|
44 |
|
45 |
# Hit the OpenAI API with 'prompt_1'
|
46 |
response = openai.ChatCompletion.create(
|
|
|
40 |
|
41 |
# Save 'prompt_1' to the chat history
|
42 |
st.session_state['chat_history'] += "<div style='color: blue;'>You: </div><br><hr style='border: 1px solid black;'>"
|
43 |
+
st.session_state['chat_history'] += f"{prompt_1}"
|
44 |
|
45 |
# Hit the OpenAI API with 'prompt_1'
|
46 |
response = openai.ChatCompletion.create(
|