jfforero commited on
Commit
420184d
·
verified ·
1 Parent(s): 22f1f4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -44,14 +44,15 @@ emotions = {1: 'neutral', 2: 'calm', 3: 'happy', 4: 'sad', 5: 'angry', 6: 'fearf
44
 
45
  # Prompts for each emotion
46
  emotion_prompts = {
47
- 'neutral': "Generate a geometric texture with balanced and Neutral colors, lights, and shapes in a seamless setting.",
48
- 'calm': "Generate a geometric texture with soft colors and tranquil illuminationround and calm shapes.",
49
- 'happy': "Generate a bright, sunny geometric texture full of vibrant colors and cheerful shapes.",
50
- 'sad': "Generate a dark, gloomy geometric texture with muted colors and somber illumination.",
51
- 'angry': "Generate an intense, fiery geometric texture with bold colors and irregular shapes.",
52
- 'fearful': "Generate an eerie, ominous geometric texture with shadows and unsettling details.",
53
- 'disgust': "Generate a geometric texture, unsettling colors, distorted illumination effects, and unnatural shapes.",
54
- 'surprised': "Generate a geometric texture with unexpected contrasts, illumination, bright lights, and shapes that convey a sense of surprise."
 
55
  }
56
 
57
  # Function to predict emotion from audio
 
44
 
45
  # Prompts for each emotion
46
  emotion_prompts = {
47
+ 'neutral': "Generate a texture with neutral colors, balanced illumination, and simple shapes.",
48
+ 'calm': "Generate a geometric texture with soft colors and tranquil illumination, using round and calming shapes.",
49
+ 'happy': "Generate a geometric texture with vibrant colors and bright, sunny illumination with simple, round shapes.",
50
+ 'sad': "Generate a geometric texture with muted colors, somber illumination, and dark and gloomy shapes.",
51
+ 'angry': "Create a geometric texture with bold, dark colors, intense illumination, and sharp, irregular shapes. ",
52
+ 'fearful': "Generate a scary geometric texture using dark, muted colors with harsh, dim illumination and irregular shapes.",
53
+ 'disgust': "Generate a geometric texture with murky, sickly colors, distorted illumination effects, and irregular shapes.",
54
+ 'surprised': "Create a geometric texture with vibrant electric and striking colors, using high-contrast lighting and sharp, angular shapes with starbursts, zigzags, and spirals.
55
+ "
56
  }
57
 
58
  # Function to predict emotion from audio