File size: 2,069 Bytes
96154e7
a3fdb3c
96154e7
a3fdb3c
96154e7
 
a3fdb3c
 
 
 
ca266e0
 
 
fcb34bb
 
ca266e0
 
 
a3fdb3c
96154e7
e9bcee8
 
 
 
96154e7
e9bcee8
 
 
96154e7
 
e9bcee8
 
 
96154e7
e9bcee8
 
 
96154e7
e9bcee8
 
 
 
96154e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"""
constants.py

This module defines global constants used throughout the project.
"""

# Minimum and maximum prompt length constraints
PROMPT_MIN_LENGTH: int = 10
PROMPT_MAX_LENGTH: int = 300

# Vote button constants
OPTION_ONE: str = "Option 1"
OPTION_TWO: str = "Option 2"
TROPHY_EMOJI = "๐Ÿ†"
UNKNOWN_PROVIDER = "Unknown"
VOTE_FOR_OPTION_ONE: str = "Vote for option 1"
VOTE_FOR_OPTION_TWO: str = "Vote for option 2"

# A collection of pre-defined prompts categorized by theme, used to provide users with inspiration for generating creative text.
SAMPLE_PROMPTS = {
    '๐Ÿš€ Dramatic Monologue (Stranded Astronaut)': 
        'Write a short dramatic monologue from a lone astronaut stranded on Mars, '
        'speaking to mission control for the last time. The tone should be reflective, '
        'filled with awe and resignation as they describe the Martian landscape and their final thoughts.',
    
    '๐Ÿ“œ Poetic Sonnet (The Passage of Time)': 
        'Compose a sonnet about the passage of time, using vivid imagery and a flowing, melodic rhythm. '
        'The poem should contrast fleeting moments with eternity, capturing both beauty and melancholy.',
    
    "๐Ÿฑ Whimsical Children's Story (Talking Cat)": 
        'Tell a short bedtime story about a mischievous talking cat who sneaks into a grand wizardโ€™s library '
        'at night and accidentally casts a spell that brings the books to life. '
        'Make the tone playful, whimsical, and filled with wonder.',
    
    '๐Ÿ”ฅ Intense Speech (Freedom & Justice)': 
        'Write a powerful speech delivered by a rebel leader rallying their people against a tyrant. '
        'The speech should be passionate, filled with urgency and conviction, calling for freedom and justice.',
    
    '๐Ÿ‘ป Mysterious Horror Scene (Haunted Lighthouse)': 
        'Describe a chilling ghostly encounter in an abandoned lighthouse on a foggy night. '
        'The protagonist, alone and cold, begins hearing whispers from the shadows, '
        'telling them secrets they were never meant to know.'
}