Spaces:
Paused
Paused
Update app.py
Browse files
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 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
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(
|