Docfile commited on
Commit
70cdf79
·
verified ·
1 Parent(s): dbc968d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -407,7 +407,7 @@ La conclusion répond à la question critique posée en introduction, en s'appuy
407
 
408
  response = client.models.generate_content(
409
  model=MODEL_ID,
410
- contents=prompt,safety_settings=safety_settings
411
  )
412
 
413
  dissertation = response.text
@@ -709,8 +709,7 @@ La conclusion répond à la question critique posée en introduction, en s'appuy
709
 
710
  response = client.models.generate_content(
711
  model=MODEL_ID,
712
- contents=prompt, safety_settings=safety_settings
713
- )
714
 
715
  dissertation = response.text
716
  return jsonify({"response": dissertation}), 200
 
407
 
408
  response = client.models.generate_content(
409
  model=MODEL_ID,
410
+ contents=prompt,
411
  )
412
 
413
  dissertation = response.text
 
709
 
710
  response = client.models.generate_content(
711
  model=MODEL_ID,
712
+ contents=prompt, )
 
713
 
714
  dissertation = response.text
715
  return jsonify({"response": dissertation}), 200