Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def get_gemini_response(input_prompt, genre, length, language, mood, target_audi
|
|
| 16 |
|
| 17 |
model = genai.GenerativeModel('gemini-1.5-flash')
|
| 18 |
full_prompt = f"""
|
| 19 |
-
You are a creative writer. Create a {genre} in {language} with
|
| 20 |
The {genre} should be {mood} and targeted to {target_audience}.
|
| 21 |
This is for a {product_type}.
|
| 22 |
The {genre} should be based on the following prompt:
|
|
|
|
| 16 |
|
| 17 |
model = genai.GenerativeModel('gemini-1.5-flash')
|
| 18 |
full_prompt = f"""
|
| 19 |
+
You are a creative writer. Create a {genre} in {language} with {length} words.
|
| 20 |
The {genre} should be {mood} and targeted to {target_audience}.
|
| 21 |
This is for a {product_type}.
|
| 22 |
The {genre} should be based on the following prompt:
|