Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def chatbot(input_text):
|
|
| 6 |
return "I'm doing well, thank you for asking."
|
| 7 |
elif input_text.lower() == "bye":
|
| 8 |
return "Goodbye! Have a great day."
|
| 9 |
-
else:
|
| 10 |
return "I'm sorry, I don't understand. Could you please rephrase your question?."
|
| 11 |
demo = gradio.Interface(fn=chatbot, inputs="text", outputs="text", title="Chatbot")
|
| 12 |
demo.launch()
|
|
|
|
| 6 |
return "I'm doing well, thank you for asking."
|
| 7 |
elif input_text.lower() == "bye":
|
| 8 |
return "Goodbye! Have a great day."
|
| 9 |
+
else:
|
| 10 |
return "I'm sorry, I don't understand. Could you please rephrase your question?."
|
| 11 |
demo = gradio.Interface(fn=chatbot, inputs="text", outputs="text", title="Chatbot")
|
| 12 |
demo.launch()
|