Sephfox commited on
Commit
f1ce1c6
·
verified ·
1 Parent(s): e623318

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -17
app.py CHANGED
@@ -374,27 +374,32 @@ 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
- # Create a futuristic data display
378
- data_display = f"""
379
- +---------------------------------------------+
380
- | Pressure : {measured_pressure:.2f} |
381
- | Temperature : {measured_temp:.2f}°C |
382
- | Texture : {measured_texture} |
383
- | EM Field : {measured_em:.2f} μT |
384
- | Quantum State: {quantum_state:.2f} |
385
  +---------------------------------------------+
386
- | Pain Level : {pain_level:.2f} |
387
- | Pleasure : {pleasure_level:.2f} |
388
- | Tickle : {tickle_level:.2f} |
389
- | Itch : {itch_level:.2f} |
390
- | Proprioception: {proprioception:.2f} |
391
- | Synesthesia : {synesthesia} |
392
- | Neural Response: {neural_response:.2f} |
 
 
 
 
 
 
393
  +---------------------------------------------+
394
- """
395
 
396
- st.code(data_display, language="")
397
 
 
 
 
 
 
 
 
398
 
399
 
400
  # Generate description
 
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
+ # Create a futuristic data display
378
+ data_display = """
 
 
 
 
 
 
379
  +---------------------------------------------+
380
+ | Pressure : {:.2f} |
381
+ | Temperature : {:.2f}°C |
382
+ | Texture : {} |
383
+ | EM Field : {:.2f} μT |
384
+ | Quantum State: {:.2f} |
385
+ +---------------------------------------------+
386
+ | Pain Level : {:.2f} |
387
+ | Pleasure : {:.2f} |
388
+ | Tickle : {:.2f} |
389
+ | Itch : {:.2f} |
390
+ | Proprioception: {:.2f} |
391
+ | Synesthesia : {} |
392
+ | Neural Response: {:.2f} |
393
  +---------------------------------------------+
 
394
 
 
395
 
396
+ """.format(
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