Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -362,19 +362,18 @@ exploration_type = st.selectbox("Choose a sensory exploration:",
|
|
362 |
if exploration_type == "Quantum Field Fluctuations":
|
363 |
st.write("Observe how quantum fields fluctuate across the AI's body.")
|
364 |
quantum_field = np.array([[QuantumSensor.measure(x, y, 1) for x in range(AVATAR_WIDTH)] for y in range(AVATAR_HEIGHT)])
|
365 |
-
st.
|
366 |
|
367 |
elif exploration_type == "Synesthesia Experience":
|
368 |
st.write("Experience how the AI might perceive colors as sounds or textures as tastes.")
|
369 |
synesthesia_map = np.random.rand(AVATAR_HEIGHT, AVATAR_WIDTH, 3)
|
370 |
-
st.image(Image.fromarray((synesthesia_map * 255).astype(np.uint8)))
|
371 |
|
372 |
elif exploration_type == "Proprioceptive Mapping":
|
373 |
st.write("Explore the AI's sense of body position and movement.")
|
374 |
proprioceptive_map = np.array([[np.linalg.norm([x - AVATAR_WIDTH/2, y - AVATAR_HEIGHT/2]) / (AVATAR_WIDTH/2)
|
375 |
for x in range(AVATAR_WIDTH)] for y in range(AVATAR_HEIGHT)])
|
376 |
-
st.
|
377 |
-
|
378 |
# Footer
|
379 |
st.write("---")
|
380 |
st.write("NeuraSense AI: Quantum-Enhanced Sensory Simulation v4.0")
|
|
|
362 |
if exploration_type == "Quantum Field Fluctuations":
|
363 |
st.write("Observe how quantum fields fluctuate across the AI's body.")
|
364 |
quantum_field = np.array([[QuantumSensor.measure(x, y, 1) for x in range(AVATAR_WIDTH)] for y in range(AVATAR_HEIGHT)])
|
365 |
+
st.image(plt.imshow(quantum_field, cmap='viridis'), use_column_width=True)
|
366 |
|
367 |
elif exploration_type == "Synesthesia Experience":
|
368 |
st.write("Experience how the AI might perceive colors as sounds or textures as tastes.")
|
369 |
synesthesia_map = np.random.rand(AVATAR_HEIGHT, AVATAR_WIDTH, 3)
|
370 |
+
st.image(Image.fromarray((synesthesia_map * 255).astype(np.uint8)), use_column_width=True)
|
371 |
|
372 |
elif exploration_type == "Proprioceptive Mapping":
|
373 |
st.write("Explore the AI's sense of body position and movement.")
|
374 |
proprioceptive_map = np.array([[np.linalg.norm([x - AVATAR_WIDTH/2, y - AVATAR_HEIGHT/2]) / (AVATAR_WIDTH/2)
|
375 |
for x in range(AVATAR_WIDTH)] for y in range(AVATAR_HEIGHT)])
|
376 |
+
st.image(plt.imshow(proprioceptive_map, cmap='coolwarm'), use_column_width=True)
|
|
|
377 |
# Footer
|
378 |
st.write("---")
|
379 |
st.write("NeuraSense AI: Quantum-Enhanced Sensory Simulation v4.0")
|