Sephfox commited on
Commit
9b5077c
1 Parent(s): 4a53fd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -28
app.py CHANGED
@@ -399,34 +399,23 @@ data_display = (
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
 
 
399
  st.code(data_display, language="")
400
 
401
  # Generate description
402
+ prompt = (
403
+ "Human: Analyze the sensory input for a hyper-advanced AI humanoid:\n"
404
+ " Location: (" + str(round(touch_x, 1)) + ", " + str(round(touch_y, 1)) + ")\n"
405
+ " Duration: " + str(round(touch_duration, 1)) + "s, Intensity: " + str(round(touch_pressure, 2)) + "\n"
406
+ " Pressure: " + str(round(measured_pressure, 2)) + "\n"
407
+ " Temperature: " + str(round(measured_temp, 2)) + "°C\n"
408
+ " Texture: " + measured_texture + "\n"
409
+ " EM Field: " + str(round(measured_em, 2)) + " μT\n"
410
+ " Quantum State: " + str(quantum_state) + "\n"
411
+ " Resulting in:\n"
412
+ " Pain: " + str(round(pain_level, 2)) + ", Pleasure: " + str(round(pleasure_level, 2)) + "\n"
413
+ " Tickle: " + str(round(tickle_level, 2)) + ", Itch: " + str(round(itch_level, 2)) + "\n"
414
+ " Proprioception: " + str(round(proprioception, 2)) + "\n"
415
+ " Synesthesia: " + synesthesia + "\n"
416
+ " Neural Response: " + str(round(neural_response, 2)) + "\n"
417
+ " Provide a detailed, scientific analysis of the AI's experience.\n"
418
+ " AI:"
 
 
 
 
 
 
 
 
 
 
 
419
  )
420
 
421