Pavan Kumar Jonnakuti commited on
Commit
fa4dd61
·
1 Parent(s): 3c7f9b4

Revert st.iframe to st.components.v1.html to fix AttributeError

Browse files
Files changed (1) hide show
  1. streamlit/dashboard.py +1 -1
streamlit/dashboard.py CHANGED
@@ -874,7 +874,7 @@ if reset_trigger == "true":
874
  st.session_state.reset_trigger = ""
875
  st.rerun()
876
 
877
- st.iframe(
878
  """
879
  <script>
880
  (function() {
 
874
  st.session_state.reset_trigger = ""
875
  st.rerun()
876
 
877
+ st.components.v1.html(
878
  """
879
  <script>
880
  (function() {