Spaces:
Running
Running
Update rhythma.py
Browse files- rhythma.py +0 -3
rhythma.py
CHANGED
|
@@ -35,7 +35,6 @@ class RhythmaModulationEngine:
|
|
| 35 |
def __init__(self, base_freq=None, modulation_type="sine", rhythm_pattern=None, emotional_state=None):
|
| 36 |
"""
|
| 37 |
Initialize the RhythmaModulationEngine.
|
| 38 |
-
|
| 39 |
Args:
|
| 40 |
base_freq (float, optional): The base frequency in Hz. Overridden by emotional_state if provided.
|
| 41 |
modulation_type (str): Type of modulation (sine, pulse, chirp). Defaults to "sine".
|
|
@@ -419,9 +418,7 @@ class RhythmaSymphAICore:
|
|
| 419 |
prompt = f"""Analyze the user's feeling described below.
|
| 420 |
Identify the single MOST prominent emotional state or intention from the following list:
|
| 421 |
{available_states}
|
| 422 |
-
|
| 423 |
Focus on the core feeling expressed. Respond with ONLY the chosen state/intention from the list.
|
| 424 |
-
|
| 425 |
User's feeling: "{input_text}"
|
| 426 |
State/Intention:"""
|
| 427 |
|
|
|
|
| 35 |
def __init__(self, base_freq=None, modulation_type="sine", rhythm_pattern=None, emotional_state=None):
|
| 36 |
"""
|
| 37 |
Initialize the RhythmaModulationEngine.
|
|
|
|
| 38 |
Args:
|
| 39 |
base_freq (float, optional): The base frequency in Hz. Overridden by emotional_state if provided.
|
| 40 |
modulation_type (str): Type of modulation (sine, pulse, chirp). Defaults to "sine".
|
|
|
|
| 418 |
prompt = f"""Analyze the user's feeling described below.
|
| 419 |
Identify the single MOST prominent emotional state or intention from the following list:
|
| 420 |
{available_states}
|
|
|
|
| 421 |
Focus on the core feeling expressed. Respond with ONLY the chosen state/intention from the list.
|
|
|
|
| 422 |
User's feeling: "{input_text}"
|
| 423 |
State/Intention:"""
|
| 424 |
|