'ojod'
Browse files
app.py
CHANGED
@@ -225,7 +225,14 @@ def mariam_chimi(chi,im):
|
|
225 |
if not im :
|
226 |
answer = client.predict(
|
227 |
t_pro, # str in 'input_text' Textbox component
|
228 |
-
api_name="/predict"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
|
230 |
|
231 |
# interface 1
|
|
|
225 |
if not im :
|
226 |
answer = client.predict(
|
227 |
t_pro, # str in 'input_text' Textbox component
|
228 |
+
api_name="/predict")
|
229 |
+
|
230 |
+
return answer
|
231 |
+
elif not chi:
|
232 |
+
return "aucune instruction donner..."
|
233 |
+
|
234 |
+
else:
|
235 |
+
return 'ok'
|
236 |
|
237 |
|
238 |
# interface 1
|