budhadityac24 commited on
Commit
6541326
1 Parent(s): 402d5e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,9 +16,9 @@ st.title("Weather App with Chat Interface")
16
 
17
  input_text = st.text_input("Hi, I am a weather chatbot. Ask me anything!")
18
 
19
- # if st.button("Ask me"):
20
- # if not input_text:
21
- # st.error("Please enter a location!")
22
 
23
  # ### Define Dummy Function
24
 
 
16
 
17
  input_text = st.text_input("Hi, I am a weather chatbot. Ask me anything!")
18
 
19
+ if st.button("Ask me"):
20
+ if not input_text:
21
+ st.error("Please enter a location!")
22
 
23
  # ### Define Dummy Function
24