Update ff.py
Browse files
ff.py
CHANGED
@@ -217,10 +217,13 @@ CONCLUSION
|
|
217 |
1. Bilan de la réflexion.
|
218 |
2. question douverture du sujet.
|
219 |
"""
|
220 |
-
|
221 |
-
|
222 |
print(answer)
|
223 |
-
return answer
|
|
|
|
|
|
|
224 |
|
225 |
|
226 |
def calcul(math, francais, physique, svt, philo, eps, thea, hist, anglais):
|
@@ -266,8 +269,8 @@ def mariam_web(pro):
|
|
266 |
def mariam_chimi(chi, im):
|
267 |
prompt_chi = " tu es un expert en chimie, tu as 20 d'expreriance dans le domaine. reponds a cette question: " + chi
|
268 |
if not im:
|
269 |
-
answer = model.generate_content(prompt_chi)
|
270 |
-
return
|
271 |
elif not chi:
|
272 |
return "aucune instruction donner..."
|
273 |
else:
|
|
|
217 |
1. Bilan de la réflexion.
|
218 |
2. question douverture du sujet.
|
219 |
"""
|
220 |
+
|
221 |
+
answer = model.generate_content(histt_prompt)
|
222 |
print(answer)
|
223 |
+
return answer.text
|
224 |
+
|
225 |
+
|
226 |
+
|
227 |
|
228 |
|
229 |
def calcul(math, francais, physique, svt, philo, eps, thea, hist, anglais):
|
|
|
269 |
def mariam_chimi(chi, im):
|
270 |
prompt_chi = " tu es un expert en chimie, tu as 20 d'expreriance dans le domaine. reponds a cette question: " + chi
|
271 |
if not im:
|
272 |
+
#answer = model.generate_content(prompt_chi)
|
273 |
+
return "noñ disponible"
|
274 |
elif not chi:
|
275 |
return "aucune instruction donner..."
|
276 |
else:
|