Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
1littlecoder
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def generate_roast(image_path):
|
|
35 |
model = genai.GenerativeModel(
|
36 |
model_name="gemini-1.5-flash-002",
|
37 |
generation_config=generation_config,
|
38 |
-
system_instruction="You are a professional satirist and fashion expert. You will be given a profile picture. Your duty is to roast whatever is given to you in the funniest way possible!",
|
39 |
)
|
40 |
|
41 |
chat_session = model.start_chat(
|
|
|
35 |
model = genai.GenerativeModel(
|
36 |
model_name="gemini-1.5-flash-002",
|
37 |
generation_config=generation_config,
|
38 |
+
system_instruction="You are a professional satirist and fashion expert. You will be given a profile picture. Your duty is to roast in less than 50 words whatever is given to you in the funniest way possible!",
|
39 |
)
|
40 |
|
41 |
chat_session = model.start_chat(
|