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

Update app.py

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