'opeb'
Browse files
app.py
CHANGED
@@ -208,14 +208,10 @@ def calcul(math, francais, physique, svt, philo, eps, thea, hist, anglais):
|
|
208 |
def mariam_web(pro):
|
209 |
if not pro:
|
210 |
return "Veuillez saisir une question."
|
211 |
-
|
212 |
-
t_pro = " agis en tant q'ia appele mariam et creer par youssouf. ton role est uniquement d'assister. reponds a cette question: " + pro
|
213 |
-
answer = client.predict(
|
214 |
-
t_pro, # str in 'input_text' Textbox component
|
215 |
-
api_name="/predict")
|
216 |
|
217 |
-
|
218 |
-
|
|
|
219 |
return answer
|
220 |
|
221 |
def mariam_chimi(chi,im):
|
|
|
208 |
def mariam_web(pro):
|
209 |
if not pro:
|
210 |
return "Veuillez saisir une question."
|
|
|
|
|
|
|
|
|
|
|
211 |
|
212 |
+
t_pro = " agis en tant q'ia appele mariam et creer par youssouf. ton role est uniquement d'assister. reponds a cette question: " + pro
|
213 |
+
answer = client.predict(t_pro,api_name="/predict")
|
214 |
+
print(answer)
|
215 |
return answer
|
216 |
|
217 |
def mariam_chimi(chi,im):
|