Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def main():
|
|
| 33 |
|
| 34 |
if st.button("Prediction"):
|
| 35 |
# plot pca cluster plot
|
| 36 |
-
plot_model(kmeans, plot = 'cluster', display_format =
|
| 37 |
|
| 38 |
# Convert the plot to a compatible format for Streamlit
|
| 39 |
# compatible_plot = go.Figure(data=plot['data'], layout=plot['layout'])
|
|
|
|
| 33 |
|
| 34 |
if st.button("Prediction"):
|
| 35 |
# plot pca cluster plot
|
| 36 |
+
plot_model(kmeans, plot = 'cluster', display_format = 'streamlit')
|
| 37 |
|
| 38 |
# Convert the plot to a compatible format for Streamlit
|
| 39 |
# compatible_plot = go.Figure(data=plot['data'], layout=plot['layout'])
|