Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,7 @@ def main():
|
|
34 |
if st.button("Prediction"):
|
35 |
# plot pca cluster plot
|
36 |
plot = plot_model(kmeans, plot = 'cluster', save = True)
|
37 |
-
|
38 |
-
st.plotly_chart(fig)
|
39 |
|
40 |
if __name__ == '__main__':
|
41 |
main()
|
|
|
34 |
if st.button("Prediction"):
|
35 |
# plot pca cluster plot
|
36 |
plot = plot_model(kmeans, plot = 'cluster', save = True)
|
37 |
+
st.plotly_chart(plot)
|
|
|
38 |
|
39 |
if __name__ == '__main__':
|
40 |
main()
|