Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -399,34 +399,23 @@ data_display = (
|
|
399 |
st.code(data_display, language="")
|
400 |
|
401 |
# Generate description
|
402 |
-
prompt =
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
AI
|
418 |
-
|
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 |
|