Spaces:
PlayHT
/
Running on CPU Upgrade

1littlecoder commited on
Commit
cfc76e9
·
verified ·
1 Parent(s): fb38819

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(