Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -374,34 +374,30 @@ with col2:
|
|
374 |
st.write(f"Interaction Point: ({touch_x:.1f}, {touch_y:.1f})")
|
375 |
st.write(f"Duration: {touch_duration:.1f} s | Intensity: {touch_pressure:.2f}")
|
376 |
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
|
383 |
-
|
|
384 |
-
|
|
385 |
-
|
386 |
-
|
|
387 |
-
|
388 |
-
|
|
389 |
-
|
|
390 |
-
|
|
391 |
-
|
|
392 |
-
|
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
""
|
397 |
-
measured_pressure, measured_temp, measured_texture, measured_em, quantum_state,
|
398 |
-
pain_level, pleasure_level, tickle_level, itch_level, proprioception,
|
399 |
-
synesthesia, neural_response
|
400 |
)
|
401 |
|
402 |
st.code(data_display, language="")
|
403 |
|
404 |
-
|
405 |
# Generate description
|
406 |
prompt = f"""Human: Analyze the sensory input for a hyper-advanced AI humanoid:
|
407 |
Location: ({touch_x:.1f}, {touch_y:.1f})
|
|
|
374 |
st.write(f"Interaction Point: ({touch_x:.1f}, {touch_y:.1f})")
|
375 |
st.write(f"Duration: {touch_duration:.1f} s | Intensity: {touch_pressure:.2f}")
|
376 |
|
377 |
+
|
378 |
+
# Create a futuristic data display
|
379 |
+
data_display = (
|
380 |
+
"```\n"
|
381 |
+
"+---------------------------------------------+\n"
|
382 |
+
"| Pressure : " + f"{measured_pressure:.2f}".ljust(23) + "|\n"
|
383 |
+
"| Temperature : " + f"{measured_temp:.2f}°C".ljust(23) + "|\n"
|
384 |
+
"| Texture : " + f"{measured_texture}".ljust(23) + "|\n"
|
385 |
+
"| EM Field : " + f"{measured_em:.2f} μT".ljust(23) + "|\n"
|
386 |
+
"| Quantum State: " + f"{quantum_state:.2f}".ljust(23) + "|\n"
|
387 |
+
"+---------------------------------------------+\n"
|
388 |
+
"| Pain Level : " + f"{pain_level:.2f}".ljust(23) + "|\n"
|
389 |
+
"| Pleasure : " + f"{pleasure_level:.2f}".ljust(23) + "|\n"
|
390 |
+
"| Tickle : " + f"{tickle_level:.2f}".ljust(23) + "|\n"
|
391 |
+
"| Itch : " + f"{itch_level:.2f}".ljust(23) + "|\n"
|
392 |
+
"| Proprioception: " + f"{proprioception:.2f}".ljust(22) + "|\n"
|
393 |
+
"| Synesthesia : " + f"{synesthesia}".ljust(23) + "|\n"
|
394 |
+
"| Neural Response: " + f"{neural_response:.2f}".ljust(21) + "|\n"
|
395 |
+
"+---------------------------------------------+\n"
|
396 |
+
"```"
|
|
|
|
|
|
|
397 |
)
|
398 |
|
399 |
st.code(data_display, language="")
|
400 |
|
|
|
401 |
# Generate description
|
402 |
prompt = f"""Human: Analyze the sensory input for a hyper-advanced AI humanoid:
|
403 |
Location: ({touch_x:.1f}, {touch_y:.1f})
|