Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def chatbot(input_text):
|
|
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")
|
|
|
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")
|