Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,8 @@ def chatbot(input_text):
|
|
| 7 |
elif input_text.lower() == "bye":
|
| 8 |
return "Goodbye! Have a great day."
|
| 9 |
elif input_text.lower() == "What’s the weather like today in Ropar ?":
|
| 10 |
-
return "The weather in Ropar today is sunny with a current temperature of around 18°C.
|
| 11 |
-
|
| 12 |
return "I'm sorry, I don't understand. Could you please rephrase your question?."
|
| 13 |
|
| 14 |
demo = gradio.Interface(fn=chatbot, inputs="text", outputs="text", title="Chatbot")
|
|
|
|
| 7 |
elif input_text.lower() == "bye":
|
| 8 |
return "Goodbye! Have a great day."
|
| 9 |
elif input_text.lower() == "What’s the weather like today in Ropar ?":
|
| 10 |
+
return "The weather in Ropar today is sunny with a current temperature of around 18°C."
|
| 11 |
+
else:
|
| 12 |
return "I'm sorry, I don't understand. Could you please rephrase your question?."
|
| 13 |
|
| 14 |
demo = gradio.Interface(fn=chatbot, inputs="text", outputs="text", title="Chatbot")
|