Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.")
|
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 indentation here
|
157 |
else:
|
158 |
with st.spinner("Validating URL..."):
|
159 |
# Instantiate the URLValidator class
|