Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,13 +45,13 @@ emotions = {1: 'neutral', 2: 'calm', 3: 'happy', 4: 'sad', 5: 'angry', 6: 'fearf
|
|
| 45 |
# Prompts for each emotion
|
| 46 |
emotion_prompts = {
|
| 47 |
'neutral': "Generate a geometric equirectangular 360 texture with balanced and Neutral colors, lights, and shapes in a seamless setting.",
|
| 48 |
-
'calm': "
|
| 49 |
-
'happy': "
|
| 50 |
-
'sad': "Generate a dark, gloomy equirectangular 360 texture with muted colors
|
| 51 |
-
'angry': "
|
| 52 |
-
'fearful': "Generate an eerie, ominous equirectangular 360 texture
|
| 53 |
-
'disgust': "
|
| 54 |
-
'surprised': "
|
| 55 |
}
|
| 56 |
|
| 57 |
# Function to predict emotion from audio
|
|
|
|
| 45 |
# Prompts for each emotion
|
| 46 |
emotion_prompts = {
|
| 47 |
'neutral': "Generate a geometric equirectangular 360 texture with balanced and Neutral colors, lights, and shapes in a seamless setting.",
|
| 48 |
+
'calm': "Generate a geometric equirectangular 360 texture with soft colors and tranquil illumination—round and calm shapes.",
|
| 49 |
+
'happy': "Generate a bright, sunny geometric equirectangular 360 texture full of vibrant colors and cheerful shapes.",
|
| 50 |
+
'sad': "Generate a dark, gloomy geometric equirectangular 360 texture with muted colors and somber illumination.",
|
| 51 |
+
'angry': "Generate an intense, fiery geometric equirectangular 360 texture with bold colors and irregular shapes.",
|
| 52 |
+
'fearful': "Generate an eerie, ominous geometric equirectangular 360 texture with shadows and unsettling details.",
|
| 53 |
+
'disgust': "Generate a geometric equirectangular 360 texture, unsettling colors, distorted illumination effects, and unnatural shapes.",
|
| 54 |
+
'surprised': "Generate a geometric equirectangular 360 texture with unexpected contrasts, illumination, bright lights, and shapes that convey a sense of surprise."
|
| 55 |
}
|
| 56 |
|
| 57 |
# Function to predict emotion from audio
|