Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ def get_gemini_response(input_prompt, genre, length, mood, target_audience, cta_
|
|
17 |
model = genai.GenerativeModel('gemini-2.0-flash')
|
18 |
full_prompt = f"""
|
19 |
You are a creative storyteller. Write a {mood} {genre} in Spanish about "{input_prompt}" using everyday words and natural conversation.
|
20 |
-
Write in the same language as the input prompt ({language}).
|
21 |
Use exactly {length} words.
|
22 |
|
23 |
Target Audience: {target_audience}
|
|
|
17 |
model = genai.GenerativeModel('gemini-2.0-flash')
|
18 |
full_prompt = f"""
|
19 |
You are a creative storyteller. Write a {mood} {genre} in Spanish about "{input_prompt}" using everyday words and natural conversation.
|
|
|
20 |
Use exactly {length} words.
|
21 |
|
22 |
Target Audience: {target_audience}
|