Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -398,24 +398,36 @@ data_display = (
|
|
398 |
|
399 |
st.code(data_display, language="")
|
400 |
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
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")
|