Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ if "df" in st.session_state and llm:
|
|
109 |
# Save and display the plot
|
110 |
temp_plot_path = os.path.join(temp_dir, "plot.png")
|
111 |
plt.savefig(temp_plot_path)
|
112 |
-
st.image(temp_plot_path, caption="Generated Plot",
|
113 |
|
114 |
except Exception as e:
|
115 |
st.error(f"Error: {e}")
|
|
|
109 |
# Save and display the plot
|
110 |
temp_plot_path = os.path.join(temp_dir, "plot.png")
|
111 |
plt.savefig(temp_plot_path)
|
112 |
+
st.image(temp_plot_path, caption="Generated Plot", use_container_width=True)
|
113 |
|
114 |
except Exception as e:
|
115 |
st.error(f"Error: {e}")
|