yenniejun commited on
Commit
fc75bb7
·
1 Parent(s): d3dbd6c

Fix plotly

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,6 +78,6 @@ if st.button("Classify"):
78
  uniformtext_minsize=8,
79
  uniformtext_mode='hide',
80
  )
81
- st.pyplot(fig=fig)
82
  else:
83
  st.write("Please enter some text to classify.")
 
78
  uniformtext_minsize=8,
79
  uniformtext_mode='hide',
80
  )
81
+ st.plotly_chart(fig=fig)
82
  else:
83
  st.write("Please enter some text to classify.")