Docfile commited on
Commit
9148056
·
1 Parent(s): 802fd7c

Update ff.py

Browse files
Files changed (1) hide show
  1. ff.py +3 -3
ff.py CHANGED
@@ -189,10 +189,10 @@ def mariam_web(pro):
189
  return "Veuillez saisir une question."
190
 
191
  t_pro = " agis en tant q'ia appele mariam et creer par youssouf. ton role est uniquement d'assister. reponds a cette question: " + pro
192
- #response = g4f.ChatCompletion.create(model=g4f.models.default,messages=[{"role": "user", "content":t_pro}],provider=Bard,cookies={"__Secure-1PSID": "dQg91CxO8uBxZRm-6QpOx-8nik1XlC9TzWoIfOpsOlcNAYgeZSG6NJ-2A3y3dmp_hRzGrA.", "__Secure-1PSIDCC": "ACA-OxNRmtfQSBZhWRlCXBfbheX_MTGKB5WLBByc9x7MtVRezY-lAATZrTyrjvdtw5ZYIBpD"},auth=True)
193
 
194
- bard = bd(token=token)
195
- response = bard.get_answer(t_pro)['content']
196
  print(" web::",pro)
197
  return response
198
 
 
189
  return "Veuillez saisir une question."
190
 
191
  t_pro = " agis en tant q'ia appele mariam et creer par youssouf. ton role est uniquement d'assister. reponds a cette question: " + pro
192
+ response = g4f.ChatCompletion.create(model=g4f.models.default,messages=[{"role": "user", "content":t_pro}],provider=Bard,cookies={"__Secure-1PSID": "dQg91CxO8uBxZRm-6QpOx-8nik1XlC9TzWoIfOpsOlcNAYgeZSG6NJ-2A3y3dmp_hRzGrA.", "__Secure-1PSIDCC": "ACA-OxNRmtfQSBZhWRlCXBfbheX_MTGKB5WLBByc9x7MtVRezY-lAATZrTyrjvdtw5ZYIBpD"},auth=True)
193
 
194
+ #bard = bd(token=token)
195
+ #response = bard.get_answer(t_pro)['content']
196
  print(" web::",pro)
197
  return response
198