FariaNoumi09 commited on
Commit
dbf8b72
·
verified ·
1 Parent(s): 8942dc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ url_to_check = "https://www.mayoclinic.org/healthy-lifestyle/infant-and-toddler-
153
  # Run validation when the button is clicked
154
  if st.button("Validate URL"):
155
  if not user_prompt.strip() or not url_to_check.strip():
156
- st.warning("Please enter both a search query and a URL.") # Correct indentation here
157
  else:
158
  with st.spinner("Validating URL..."):
159
  # Instantiate the URLValidator class
 
153
  # Run validation when the button is clicked
154
  if st.button("Validate URL"):
155
  if not user_prompt.strip() or not url_to_check.strip():
156
+ st.warning("Please enter both a search query and a URL.") # Correct method call
157
  else:
158
  with st.spinner("Validating URL..."):
159
  # Instantiate the URLValidator class