naohiro701 commited on
Commit
712fff8
·
verified ·
1 Parent(s): 321fdb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import streamlit as st
2
  import numpy as np
3
  import plotly.graph_objects as go
@@ -274,7 +276,7 @@ Boidが周囲のBoidの中心に向かって移動するようにするための
274
 
275
  これらのパラメータにより、Boidが領域の端に近づいた際の挙動を細かく制御できます。
276
 
277
- """, unsafe_allow_html=True)
278
 
279
  # アニメーションの表示領域
280
  animation_placeholder = st.empty()
@@ -323,4 +325,4 @@ while True:
323
  animation_placeholder.plotly_chart(fig, use_container_width=True)
324
 
325
  # フレームレート調整
326
- time.sleep(sleep_time)
 
1
+ # boids_streamlit_advanced.py
2
+
3
  import streamlit as st
4
  import numpy as np
5
  import plotly.graph_objects as go
 
276
 
277
  これらのパラメータにより、Boidが領域の端に近づいた際の挙動を細かく制御できます。
278
 
279
+ """)
280
 
281
  # アニメーションの表示領域
282
  animation_placeholder = st.empty()
 
325
  animation_placeholder.plotly_chart(fig, use_container_width=True)
326
 
327
  # フレームレート調整
328
+ time.sleep(sleep_time)