Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,9 +42,9 @@ st.write(f'Predicted Score: {score} Marks if he studies {hours} hours')
|
|
| 42 |
# st.write('Data Summary:')
|
| 43 |
# st.write(data.describe())
|
| 44 |
|
| 45 |
-
st.write('Scatter Plot:')
|
| 46 |
-
fig, ax = plt.subplots(figsize=(10, 6))
|
| 47 |
-
sns.scatterplot(data=data, x='Hours', y='Scores')
|
| 48 |
-
plt.xlabel('Hours')
|
| 49 |
-
plt.ylabel('Scores')
|
| 50 |
-
st.pyplot(fig)
|
|
|
|
| 42 |
# st.write('Data Summary:')
|
| 43 |
# st.write(data.describe())
|
| 44 |
|
| 45 |
+
# st.write('Scatter Plot:')
|
| 46 |
+
# fig, ax = plt.subplots(figsize=(10, 6))
|
| 47 |
+
# sns.scatterplot(data=data, x='Hours', y='Scores')
|
| 48 |
+
# plt.xlabel('Hours')
|
| 49 |
+
# plt.ylabel('Scores')
|
| 50 |
+
# st.pyplot(fig)
|