Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -77,6 +77,8 @@ def main():
|
|
77 |
)
|
78 |
|
79 |
answers_2 = response['choices'][0]['message']['content']
|
|
|
|
|
80 |
|
81 |
# Save GPT's response to the chat history
|
82 |
st.session_state['chat_history'].append(f"SmartGPT-4: {answers_2}")
|
|
|
77 |
)
|
78 |
|
79 |
answers_2 = response['choices'][0]['message']['content']
|
80 |
+
print(type(answers_2))
|
81 |
+
print(answers_2)
|
82 |
|
83 |
# Save GPT's response to the chat history
|
84 |
st.session_state['chat_history'].append(f"SmartGPT-4: {answers_2}")
|