Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ Right: Alex> BRO WHY IS THERE A RAT IN MY BURGER?!! [shocked] 🐀🍔
|
|
| 98 |
Left: Chinmay> Extra protein sir 😎
|
| 99 |
1.3 Bracketed Cues & Sound Effects
|
| 100 |
Use brackets [] to include sound effects, reactions, or video cues.
|
| 101 |
-
|
| 102 |
Common Examples:
|
| 103 |
|
| 104 |
[shocked] → Indicates the character is shocked.
|
|
@@ -187,16 +187,81 @@ Story Theme → Choose a base premise (e.g., "Uber Eats Disaster", "Courtroom Ch
|
|
| 187 |
Left Actor={left_speaker}
|
| 188 |
Right Actor={right_speaker}
|
| 189 |
Theme={theme}
|
| 190 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
|
| 192 |
"""
|
| 193 |
)
|
| 194 |
if additional_details.strip():
|
| 195 |
prompt += f"Additional Details: {additional_details}\n"
|
| 196 |
|
| 197 |
-
|
| 198 |
-
st.write("### Generated Prompt")
|
| 199 |
-
st.code(prompt)
|
| 200 |
|
| 201 |
# Prepare the message payload for the Groq API call.
|
| 202 |
messages = [
|
|
|
|
| 98 |
Left: Chinmay> Extra protein sir 😎
|
| 99 |
1.3 Bracketed Cues & Sound Effects
|
| 100 |
Use brackets [] to include sound effects, reactions, or video cues.
|
| 101 |
+
DO NOT USE REACTIONS TOO OFTEN -- ONLY WHEN NECESSARY FOR DRAMATIC EFFECT
|
| 102 |
Common Examples:
|
| 103 |
|
| 104 |
[shocked] → Indicates the character is shocked.
|
|
|
|
| 187 |
Left Actor={left_speaker}
|
| 188 |
Right Actor={right_speaker}
|
| 189 |
Theme={theme}
|
| 190 |
+
|
| 191 |
+
|
| 192 |
+
Here is a sample script DO your best to match the length of this script and also the frequency of images, reactions and dramatic effects while keeping the story follow the theme
|
| 193 |
+
FLAT CHEST🫶🏻🥶🍒:FLAT CHEST🫶🏻🥶🍒
|
| 194 |
+
Right: img:image1 [0.5]
|
| 195 |
+
Right: Alex> Babe I survived!!!
|
| 196 |
+
Right: Alex> I am the only one who made it out!
|
| 197 |
+
Right: Alex> Looks like My Fortnite skills came in handy! [shocked]
|
| 198 |
+
Left: Natasha> Fortnite skills?
|
| 199 |
+
Right: Alex> I was cracking 90's [shocked]
|
| 200 |
+
Left: Natasha> well we had a funeral party
|
| 201 |
+
Right: Alex> funeral party?
|
| 202 |
+
Right: Alex> sounds fun
|
| 203 |
+
Right: Alex> Why wasn't I invited?
|
| 204 |
+
Left: Natasha> Well you're not gonna like this!
|
| 205 |
+
Left: img:image2
|
| 206 |
+
Left: Natasha> Meet "Mr Upgrade" == Meet Mr Upgrade [shocked]
|
| 207 |
+
Right: Alex> Gone for a week, and you're with this dude already?
|
| 208 |
+
Left: Natasha> Life moves fast Jason.
|
| 209 |
+
Unlike your plane!!! [shocked]
|
| 210 |
+
Cantina: Roast bot:Roast bot pfp == Alex> Let me open the cantina app to talk to Roast bot to ask him for a roast
|
| 211 |
+
Right: Alex> hey roastbot
|
| 212 |
+
Right: img:image4
|
| 213 |
+
Right: SHE CHEATED ON ME!!!
|
| 214 |
+
Right: Alex> how can I roast her
|
| 215 |
+
Left: Antoni> No problem bro
|
| 216 |
+
Left: Antoni> just say this: you know what moves faster than life?
|
| 217 |
+
Left: Antoni> your legs when you're running away from your husband with his best friend's credit card, sl{u}t
|
| 218 |
+
FLAT CHEST🫶🏻🥶🍒:FLAT CHEST🫶🏻🥶🍒
|
| 219 |
+
Right: Alex> you know what moves faster than life?
|
| 220 |
+
Right: Alex> your legs when you're running away from your husband with his best friend's credit card, sl{u}t [shocked]
|
| 221 |
+
Left: Natasha> Yeah and your d{ic}k is a ghost, nobody feels it [shocked]
|
| 222 |
+
Right: Alex> Alright, I'm coming over
|
| 223 |
+
Right: Alex> Time to meet "Mr Upgrade" in person == Time to meet Mr Upgrade in person
|
| 224 |
+
Left: Natasha> Uhhh maybe don't?
|
| 225 |
+
Left: Natasha> You need rest
|
| 226 |
+
Left: Natasha> You know post-crash trauma!!!
|
| 227 |
+
Right: Alex> Trauma?
|
| 228 |
+
Right: Alex> Babe are you hiding something?
|
| 229 |
+
Left: Natasha> Hiding?
|
| 230 |
+
Left: Natasha> Me?
|
| 231 |
+
Left: Natasha> Never!
|
| 232 |
+
Right: Alex> Too late
|
| 233 |
+
Right: Alex> I'm here
|
| 234 |
+
Left: Natasha> Ogh Fine!
|
| 235 |
+
Left: Natasha> We're married now
|
| 236 |
+
Left: Natasha> Okay?
|
| 237 |
+
Right: Alex> Married?!
|
| 238 |
+
Right: Alex> I crashed for a week and you're already hitched? [shocked]
|
| 239 |
+
FLAT CHEST🫶🏻🥶🍒:FLAT CHEST🫶🏻🥶🍒
|
| 240 |
+
Left: Natasha> Hey
|
| 241 |
+
Left: Natasha> I am single again😂
|
| 242 |
+
Left: Natasha> Miss me?
|
| 243 |
+
Right: Alex> Who's this?
|
| 244 |
+
Left: Natasha> Your EX
|
| 245 |
+
Left: Natasha> "Upgrade" didn't work out! == Upgrade didn't work out!
|
| 246 |
+
Left: Natasha> I've got a kid now
|
| 247 |
+
Left: Natasha> Wannna be his daddy?
|
| 248 |
+
Right: Alex> Funny you asked
|
| 249 |
+
Right: Alex> I got married
|
| 250 |
+
Left: Natasha> Wait... Married?
|
| 251 |
+
Left: Natasha> with whom?
|
| 252 |
+
Left: Natasha> Jelissa?
|
| 253 |
+
Right: Alex> Let's just say...
|
| 254 |
+
Right: Alex> I got an upgrade🫦😏
|
| 255 |
+
Right: img:image3
|
| 256 |
+
Right: Alex> Stole your man bi{tch} [get_out]
|
| 257 |
+
|
| 258 |
|
| 259 |
"""
|
| 260 |
)
|
| 261 |
if additional_details.strip():
|
| 262 |
prompt += f"Additional Details: {additional_details}\n"
|
| 263 |
|
| 264 |
+
|
|
|
|
|
|
|
| 265 |
|
| 266 |
# Prepare the message payload for the Groq API call.
|
| 267 |
messages = [
|