shikharyashmaurya commited on
Commit
e48228e
1 Parent(s): a99b223

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ secret_key = os.getenv("SECRET_KEY")
7
  genai.configure(api_key=secret_key)
8
 
9
  def get_gemini_response(image):
10
- model = genai.GenerativeModel('gemini-pro-vision')
11
  input='''You are a prompt generator.You will get an image.
12
  Your work is to write a prompt such that an image generator model would create most identical picture
13
  as the image given to you'''
 
7
  genai.configure(api_key=secret_key)
8
 
9
  def get_gemini_response(image):
10
+ model = genai.GenerativeModel('gemini-1.5-flash')
11
  input='''You are a prompt generator.You will get an image.
12
  Your work is to write a prompt such that an image generator model would create most identical picture
13
  as the image given to you'''