GarimaPuri01 commited on
Commit
7ac95f1
·
verified ·
1 Parent(s): dc11d6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- 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?."
 
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?."