Spaces:
Build error
Build error
Update app.py
Browse files6 unmodified lines78910111213146 unmodified lineselif input_text.lower() == "bye":return "Goodbye! Have a great day."elif input_text.lower() == "What’s the weather like today in Ropar ?":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"else:return "I'm sorry, I don't understand. Could you please rephrase your question?."demo = gradio.Interface(fn=chatbot, inputs="text", outputs="text", title="Chatbot")6 unmodified lines78910111213146 unmodified lineselif input_text.lower() == "bye":return "Goodbye! Have a great day."elif input_text.lower() == "What’s the weather like today in Ropar ?":return "The weather in Ropar today is sunny with a current temperature of around 18°C."else:return "I'm sorry, I don't understand. Could you please rephrase your question?."demo = gradio.Interface(fn=chatbot, inputs="text", outputs="text", title="Chatbot")
app.py+2-2