pgoel90 commited on
Commit
315f097
·
verified ·
1 Parent(s): 3376ec5

Updated Model

Browse files

Updated the model

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ Note:Ensure there are exactly {num_questions} questions in total with a random m
170
 
171
  def get_gemini_response(question, prompt):
172
  """Function to load Google Gemini model and provide queries as response."""
173
- model = genai.GenerativeModel('gemini-1.5-flash')
174
  response = model.generate_content([prompt, question])
175
  return response.text
176
 
 
170
 
171
  def get_gemini_response(question, prompt):
172
  """Function to load Google Gemini model and provide queries as response."""
173
+ model = genai.GenerativeModel('gemini-2.0-flash')
174
  response = model.generate_content([prompt, question])
175
  return response.text
176