Docfile commited on
Commit
c8992b4
·
1 Parent(s): d3073fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -207,7 +207,7 @@ def calcul(math, francais, physique, svt, philo, eps, thea, hist, anglais):
207
  r = total / 28
208
  return matha.trunc(r * 100) / 100
209
 
210
- """
211
  def mariam_web(pro):
212
  if not pro:
213
  return "Veuillez saisir une question."
@@ -216,7 +216,7 @@ def mariam_web(pro):
216
  response = g4f.ChatCompletion.create(model=g4f.models.default,messages=[{"role": "user", "content":t_pro}],provider=Bard,cookies={"__Secure-1PSID": "bQg91E2ggGcxSbysMaqi7i_a71yETVbx779_2CWTMjnKyo2EhWr2xbDEoSRrsX47phTNpg.", "__Secure-1PSIDCC": "APoG2W-ldh3902I0dUkwXQQeEXKwqrQJXn54dmQNYHOAl1J8fEdhfIH2zB-jAOdtyz39Jojlsw"},auth=True)
217
  return response
218
 
219
- """
220
  def mariam_chimi(chi,im):
221
 
222
  prompt_chi = " tu es un expert en chimie, tu as 20 d'expreriance dans le domaine. reponds a cette question: " + chi
 
207
  r = total / 28
208
  return matha.trunc(r * 100) / 100
209
 
210
+
211
  def mariam_web(pro):
212
  if not pro:
213
  return "Veuillez saisir une question."
 
216
  response = g4f.ChatCompletion.create(model=g4f.models.default,messages=[{"role": "user", "content":t_pro}],provider=Bard,cookies={"__Secure-1PSID": "bQg91E2ggGcxSbysMaqi7i_a71yETVbx779_2CWTMjnKyo2EhWr2xbDEoSRrsX47phTNpg.", "__Secure-1PSIDCC": "APoG2W-ldh3902I0dUkwXQQeEXKwqrQJXn54dmQNYHOAl1J8fEdhfIH2zB-jAOdtyz39Jojlsw"},auth=True)
217
  return response
218
 
219
+
220
  def mariam_chimi(chi,im):
221
 
222
  prompt_chi = " tu es un expert en chimie, tu as 20 d'expreriance dans le domaine. reponds a cette question: " + chi