Sephfox commited on
Commit
4a53fd8
·
verified ·
1 Parent(s): e1a12ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +30 -18
app.py CHANGED
@@ -398,24 +398,36 @@ data_display = (
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})
404
- Duration: {touch_duration:.1f}s, Intensity: {touch_pressure:.2f}
405
- Pressure: {measured_pressure:.2f}
406
- Temperature: {measured_temp:.2f}°C
407
- Texture: {measured_texture}
408
- EM Field: {measured_em:.2f} μT
409
- Quantum State: {quantum_state}
410
- Resulting in:
411
- Pain: {pain_level:.2f}, Pleasure: {pleasure_level:.2f}
412
- Tickle: {tickle_level:.2f}, Itch: {itch_level:.2f}
413
- Proprioception: {proprioception:.2f}
414
- Synesthesia: {synesthesia}
415
- Neural Response: {neural_response:.2f}
416
- Provide a detailed, scientific analysis of the AI's experience.
417
- AI:"""
418
-
 
 
 
 
 
 
 
 
 
 
 
 
419
 
420
 
421
  input_ids = tokenizer.encode(prompt, return_tensors="pt")
 
398
 
399
  st.code(data_display, language="")
400
 
401
+ # Generate description
402
+ prompt = """Human: Analyze the sensory input for a hyper-advanced AI humanoid:
403
+ Location: ({:.1f}, {:.1f})
404
+ Duration: {:.1f}s, Intensity: {:.2f}
405
+ Pressure: {:.2f}
406
+ Temperature: {:.2f}°C
407
+ Texture: {}
408
+ EM Field: {:.2f} μT
409
+ Quantum State: {}
410
+ Resulting in:
411
+ Pain: {:.2f}, Pleasure: {:.2f}
412
+ Tickle: {:.2f}, Itch: {:.2f}
413
+ Proprioception: {:.2f}
414
+ Synesthesia: {}
415
+ Neural Response: {:.2f}
416
+ Provide a detailed, scientific analysis of the AI's experience.
417
+ AI:""".format(
418
+ touch_x, touch_y,
419
+ touch_duration, touch_pressure,
420
+ measured_pressure,
421
+ measured_temp,
422
+ measured_texture,
423
+ measured_em,
424
+ quantum_state,
425
+ pain_level, pleasure_level,
426
+ tickle_level, itch_level,
427
+ proprioception,
428
+ synesthesia,
429
+ neural_response
430
+ )
431
 
432
 
433
  input_ids = tokenizer.encode(prompt, return_tensors="pt")