Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ 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 |
|
|
|
6 |
return "I'm doing well, thank you for asking."
|
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. It is expected to reach a high of about 29°C in the afternoon. Winds are light, around 8 km/h, and there's no precipitation expected for the day. The temperature will drop to around 17°C at night"
|
11 |
else:
|
12 |
return "I'm sorry, I don't understand. Could you please rephrase your question?."
|
13 |
|