YashsharmaPhD commited on
Commit
3161ec0
·
verified ·
1 Parent(s): a2b1856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def visualize_memory_grid(memory_grid):
63
  ax.set_title("4x4 Memory Grid - VRAM")
64
  ax.set_xlabel("Memory Cells (Columns)")
65
  ax.set_ylabel("Memory Cells (Rows)")
66
- plt.show()
67
 
68
  # Generate spikes for the given pressure value
69
  def generate_spikes_for_pressure(pressure):
 
63
  ax.set_title("4x4 Memory Grid - VRAM")
64
  ax.set_xlabel("Memory Cells (Columns)")
65
  ax.set_ylabel("Memory Cells (Rows)")
66
+ st.pyplot(fig) # Render plot in Streamlit using st.pyplot
67
 
68
  # Generate spikes for the given pressure value
69
  def generate_spikes_for_pressure(pressure):