Spaces:
Sleeping
Sleeping
Ari commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -183,7 +183,7 @@ def process_input():
|
|
| 183 |
'result': result_str
|
| 184 |
})
|
| 185 |
|
| 186 |
-
#
|
| 187 |
st.text_area("Insights", value=insights, height=300)
|
| 188 |
|
| 189 |
# Append the result DataFrame to the history
|
|
@@ -200,7 +200,7 @@ def process_input():
|
|
| 200 |
'result': dataset_summary
|
| 201 |
})
|
| 202 |
|
| 203 |
-
#
|
| 204 |
st.text_area("Recommendations", value=recommendations, height=300)
|
| 205 |
|
| 206 |
else:
|
|
@@ -210,7 +210,7 @@ def process_input():
|
|
| 210 |
'result': dataset_summary
|
| 211 |
})
|
| 212 |
|
| 213 |
-
#
|
| 214 |
st.text_area("Insights", value=insights, height=300)
|
| 215 |
|
| 216 |
except Exception as e:
|
|
|
|
| 183 |
'result': result_str
|
| 184 |
})
|
| 185 |
|
| 186 |
+
# Display insights in a scrollable text area
|
| 187 |
st.text_area("Insights", value=insights, height=300)
|
| 188 |
|
| 189 |
# Append the result DataFrame to the history
|
|
|
|
| 200 |
'result': dataset_summary
|
| 201 |
})
|
| 202 |
|
| 203 |
+
# Display recommendations in a scrollable text area
|
| 204 |
st.text_area("Recommendations", value=recommendations, height=300)
|
| 205 |
|
| 206 |
else:
|
|
|
|
| 210 |
'result': dataset_summary
|
| 211 |
})
|
| 212 |
|
| 213 |
+
# Display insights in a scrollable text area
|
| 214 |
st.text_area("Insights", value=insights, height=300)
|
| 215 |
|
| 216 |
except Exception as e:
|