Spaces:
Running
Running
shikharyashmaurya
commited on
Commit
•
a3de6f7
1
Parent(s):
c4561d9
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def get_gemini_response(input,image):
|
|
12 |
input='''You are a prompt generator.You will get an image.
|
13 |
Your work is to write a prompt such that an image generator model would create most identical picture
|
14 |
as the image given to you'''
|
15 |
-
|
16 |
new_input='''You are a prompt generator.You will get an image.
|
17 |
Your work is to write a prompt such that an image generator model would create most identical picture
|
18 |
as the image given to you and the extra feature provide that you mant in image are as follows '''+input
|
|
|
12 |
input='''You are a prompt generator.You will get an image.
|
13 |
Your work is to write a prompt such that an image generator model would create most identical picture
|
14 |
as the image given to you'''
|
15 |
+
response = model.generate_content([input,image])
|
16 |
new_input='''You are a prompt generator.You will get an image.
|
17 |
Your work is to write a prompt such that an image generator model would create most identical picture
|
18 |
as the image given to you and the extra feature provide that you mant in image are as follows '''+input
|