Amala06 commited on
Commit
95f1c62
·
verified ·
1 Parent(s): 7370181

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -249,7 +249,7 @@ def generate_response(prompt: str) -> str:
249
  contents=prompt,
250
  config=types.GenerateContentConfig(
251
  response_mime_type="application/json",
252
- # response_schema=response_schema, remove this line
253
  )
254
  )
255
  return json.loads(response.text)
 
249
  contents=prompt,
250
  config=types.GenerateContentConfig(
251
  response_mime_type="application/json",
252
+ response_schema=response_schema,
253
  )
254
  )
255
  return json.loads(response.text)