Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -172,24 +172,24 @@ def show_chart_analysis_tab(claude_service, analysis_service, storage_manager):
|
|
| 172 |
"⚠️ This analysis is AI-generated and for informational purposes only. "
|
| 173 |
"Do not make trading decisions solely based on this information."
|
| 174 |
)
|
| 175 |
-
|
| 176 |
-
with col2:
|
| 177 |
# Chat history
|
| 178 |
# show_chat_history(st.session_state.chat_history)
|
| 179 |
|
| 180 |
# Save options
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
)
|
| 189 |
-
if filename:
|
| 190 |
-
|
| 191 |
-
else:
|
| 192 |
-
|
| 193 |
|
| 194 |
def show_learning_tab(learning_module):
|
| 195 |
"""Display learning center functionality"""
|
|
|
|
| 172 |
"⚠️ This analysis is AI-generated and for informational purposes only. "
|
| 173 |
"Do not make trading decisions solely based on this information."
|
| 174 |
)
|
| 175 |
+
#Kapil : Have commented it out as it would be good to have more space for analysis
|
| 176 |
+
#with col2:
|
| 177 |
# Chat history
|
| 178 |
# show_chat_history(st.session_state.chat_history)
|
| 179 |
|
| 180 |
# Save options
|
| 181 |
+
# save_name = show_save_options()
|
| 182 |
+
# if save_name and st.session_state.chat_history:
|
| 183 |
+
# filename = storage_manager.save_chat(
|
| 184 |
+
# st.session_state.chat_history,
|
| 185 |
+
# st.session_state.current_images[0] if st.session_state.current_images else None,
|
| 186 |
+
# f"{save_name}.json" if save_name else None,
|
| 187 |
+
# claude_service
|
| 188 |
+
#)
|
| 189 |
+
#if filename:
|
| 190 |
+
# st.success(f"Chat saved as {filename}")
|
| 191 |
+
#else:
|
| 192 |
+
# st.info("Chat saved to session state")
|
| 193 |
|
| 194 |
def show_learning_tab(learning_module):
|
| 195 |
"""Display learning center functionality"""
|