Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 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):
|