Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -304,12 +304,12 @@ with col2:
|
|
304 |
|
305 |
"""
|
306 |
st.code(data_display, language="")
|
307 |
-
|
308 |
prompt_template = """Human: Analyze the sensory input for a hyper-advanced AI humanoid:
|
309 |
Location: ({}, {})
|
310 |
Duration: {}s, Intensity: {}
|
311 |
Pressure: {}
|
312 |
-
Temperature: {}
|
313 |
Texture: {}
|
314 |
EM Field: {} μT
|
315 |
Quantum State: {}
|
@@ -346,7 +346,6 @@ prompt = prompt_template.format(
|
|
346 |
tickle_level_str, itch_level_str,
|
347 |
proprioception_str, synesthesia, neural_response_str
|
348 |
)
|
349 |
-
|
350 |
# You can use this prompt to generate a response from your AI model
|
351 |
# For demonstration, let's create a mock AI response
|
352 |
ai_response = f"""Based on the complex sensory input received, the hyper-advanced AI humanoid is experiencing a multifaceted neural response:
|
|
|
304 |
|
305 |
"""
|
306 |
st.code(data_display, language="")
|
307 |
+
# First, create a template string with placeholders
|
308 |
prompt_template = """Human: Analyze the sensory input for a hyper-advanced AI humanoid:
|
309 |
Location: ({}, {})
|
310 |
Duration: {}s, Intensity: {}
|
311 |
Pressure: {}
|
312 |
+
Temperature: {}\N{DEGREE SIGN}C
|
313 |
Texture: {}
|
314 |
EM Field: {} μT
|
315 |
Quantum State: {}
|
|
|
346 |
tickle_level_str, itch_level_str,
|
347 |
proprioception_str, synesthesia, neural_response_str
|
348 |
)
|
|
|
349 |
# You can use this prompt to generate a response from your AI model
|
350 |
# For demonstration, let's create a mock AI response
|
351 |
ai_response = f"""Based on the complex sensory input received, the hyper-advanced AI humanoid is experiencing a multifaceted neural response:
|