Tuana commited on
Commit
f4acbae
β€’
1 Parent(s): 2a34bac

Attempting to crawl URLs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ if (validators.url(url)) and (upload_file is None):
81
  except Exception as e:
82
  logging.exception(e)
83
 
84
- if (uploaded_file is not None) and !(validators.url(url)):
85
  if st.button('Summarize Document'):
86
  with st.spinner("πŸ“š    Please wait while we produce a summary..."):
87
  try:
 
81
  except Exception as e:
82
  logging.exception(e)
83
 
84
+ if (uploaded_file is not None) and not validators.url(url):
85
  if st.button('Summarize Document'):
86
  with st.spinner("πŸ“š    Please wait while we produce a summary..."):
87
  try: