Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -139,11 +139,11 @@ if st.button("Generate Prediction"):
|
|
139 |
st.markdown("**Predicted Impact on Performance and Infrastructure:**")
|
140 |
st.markdown(generated_text.strip())
|
141 |
|
142 |
-
# Generate a
|
143 |
fig, ax = plt.subplots()
|
144 |
-
ax.
|
145 |
ax.set_ylabel('Values')
|
146 |
-
ax.set_title('Climate Conditions
|
147 |
st.pyplot(fig)
|
148 |
|
149 |
except ValueError as ve:
|
|
|
139 |
st.markdown("**Predicted Impact on Performance and Infrastructure:**")
|
140 |
st.markdown(generated_text.strip())
|
141 |
|
142 |
+
# Generate a line chart to show the relationship between temperature and humidity
|
143 |
fig, ax = plt.subplots()
|
144 |
+
ax.plot(results_data['Condition'], results_data['Value'], marker='o')
|
145 |
ax.set_ylabel('Values')
|
146 |
+
ax.set_title('Relationship Between Climate Conditions')
|
147 |
st.pyplot(fig)
|
148 |
|
149 |
except ValueError as ve:
|