Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,9 +149,7 @@ def get_response(system_message, chat_history, user_text, max_new_tokens=800):
|
|
| 149 |
st.session_state.chat_history.append({'role': 'assistant', 'content': response})
|
| 150 |
st.session_state.chat_history.append({'role': 'assistant', 'content': follow_up})
|
| 151 |
|
| 152 |
-
return response, follow_up
|
| 153 |
-
|
| 154 |
-
#return response, follow_up, chat_history, None
|
| 155 |
|
| 156 |
# ✅ Streamlit UI
|
| 157 |
st.title("🚀 HAL - NASA AI Assistant")
|
|
|
|
| 149 |
st.session_state.chat_history.append({'role': 'assistant', 'content': response})
|
| 150 |
st.session_state.chat_history.append({'role': 'assistant', 'content': follow_up})
|
| 151 |
|
| 152 |
+
return response, follow_up, chat_history, None
|
|
|
|
|
|
|
| 153 |
|
| 154 |
# ✅ Streamlit UI
|
| 155 |
st.title("🚀 HAL - NASA AI Assistant")
|