Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -131,7 +131,7 @@ def generate_email(prompt):
|
|
131 |
client = genai.Client(api_key=api_key)
|
132 |
response = client.models.generate_content(
|
133 |
model="gemini-2.0-flash",
|
134 |
-
config=types.GenerateContentConfig(system_instruction=
|
135 |
contents=[prompt],
|
136 |
)
|
137 |
return response.text
|
|
|
131 |
client = genai.Client(api_key=api_key)
|
132 |
response = client.models.generate_content(
|
133 |
model="gemini-2.0-flash",
|
134 |
+
config=types.GenerateContentConfig(system_instruction=sys_instruct_gen),
|
135 |
contents=[prompt],
|
136 |
)
|
137 |
return response.text
|