Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,12 +8,8 @@ responses = {
|
|
| 8 |
}
|
| 9 |
|
| 10 |
def chatbot(input_text):
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
for key in responses:
|
| 14 |
-
if key in input_text:
|
| 15 |
-
return responses[key]
|
| 16 |
-
return "Je ne comprends pas votre question."
|
| 17 |
|
| 18 |
# Interface Gradio
|
| 19 |
iface = gr.Interface(
|
|
|
|
| 8 |
}
|
| 9 |
|
| 10 |
def chatbot(input_text):
|
| 11 |
+
print(input_text)
|
| 12 |
+
return "Non abonné ."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Interface Gradio
|
| 15 |
iface = gr.Interface(
|