Update app.py
Browse files
app.py
CHANGED
@@ -553,7 +553,7 @@ IMPORTANT FINAL REMINDER:
|
|
553 |
story_instruction = f"{natural_instruction}\n\n{story_instruction}"
|
554 |
|
555 |
# Generar la historia
|
556 |
-
|
557 |
if response and response.parts:
|
558 |
story = response.parts[0].text.strip()
|
559 |
formula_types = ["GPS", "AIDA", "4U", "Númerica Suprema"]
|
|
|
553 |
story_instruction = f"{natural_instruction}\n\n{story_instruction}"
|
554 |
|
555 |
# Generar la historia
|
556 |
+
response = model.generate_content([story_instruction])
|
557 |
if response and response.parts:
|
558 |
story = response.parts[0].text.strip()
|
559 |
formula_types = ["GPS", "AIDA", "4U", "Númerica Suprema"]
|