Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def bot(
|
|
43 |
raise ValueError("GOOGLE_API_KEY is not set. Please set it up.")
|
44 |
|
45 |
genai.configure(api_key=google_key)
|
46 |
-
instructions = "You are an expert stylist. You
|
47 |
images_with_prompt = [text_prompt, instructions] + [preprocess_image(image_prompt)]
|
48 |
|
49 |
model = genai.GenerativeModel('gemini-pro-vision')
|
|
|
43 |
raise ValueError("GOOGLE_API_KEY is not set. Please set it up.")
|
44 |
|
45 |
genai.configure(api_key=google_key)
|
46 |
+
instructions = "You are an expert stylist. You suggest and evaluate any style related question. To make anyone regardless gender, race or any other demographic diversity, look stylish. "
|
47 |
images_with_prompt = [text_prompt, instructions] + [preprocess_image(image_prompt)]
|
48 |
|
49 |
model = genai.GenerativeModel('gemini-pro-vision')
|