SeemG commited on
Commit
266231c
·
verified ·
1 Parent(s): ce6ef21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -35,16 +35,14 @@ def generate_text(prompt, max_length=50, num_return_sequences=10):
35
  return generated_texts
36
 
37
  # Humorous prompt options
38
- prompts = [
39
- "The automatic doors at the grocery store, tired of people holding them open for conversations, developed a mischievous sense of humor.",
40
- "The self-driving car, fed up with rush hour traffic, decided to take a scenic detour through the countryside.",
41
- "The fridge goes on a hunger strike",
42
- "A colony of ants, inspired by a motivational poster, embarked on a quest to climb the tallest tree in the garden.",
43
- "A particularly chatty parrot accidentally spilled the villain's evil plan during a casual conversation with the local mailman.",
44
- "TA squirrel declares war on the birdfeeder...",
45
- "The refrigerator, overflowing with forgotten groceries, staged a silent protest, refusing to cool anything until some order was restored.",
46
- "A fortune cookie predicts world domination"
47
- ]
48
 
49
  # Gradio interface with user inputs and dropdown for prompt selection
50
  interface = gr.Interface(
 
35
  return generated_texts
36
 
37
  # Humorous prompt options
38
+ prompts = ["Grocery store doors: Tired of chatty customers, the doors become pranksters!",
39
+ "Self-driving car: Stuck in traffic? This car says: Later! and takes a joyride."
40
+ "Fridge on strike: The fridge is tired of leftovers and wants a fresh start!",
41
+ "Anty ambition: Inspired by a poster, ants attempt a sky-high climb!",
42
+ "Loose lips, sink ships: A chatty parrot spills the villain's evil plan to the mailman.",
43
+ "Squirrel vs. Feeder: A feisty squirrel declares war on the never-ending buffet."
44
+ "Fridge rebellion: Overstuffed with forgotten food, the fridge goes on a cooling strike!",
45
+ "Fortune cookie fortune: Your cookie predicts... world domination? Uh oh."]
 
 
46
 
47
  # Gradio interface with user inputs and dropdown for prompt selection
48
  interface = gr.Interface(