dperales commited on
Commit
a9d3df7
·
1 Parent(s): 7f5f601

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- fig = pio.from_json(plot)
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()