iShare commited on
Commit
7ca0615
·
1 Parent(s): 41a17c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ url=st.text_input("Enter webiste URL to summarize (format: https://www.usinoip.c
47
 
48
  #loader = WebBaseLoader("https://www.usinoip.com/")
49
 
50
- if user_question !="" and not user_question.strip().isspace() and not user_question == "" and not user_question.strip() == "" and not user_question.isspace():
51
  try:
52
  loader = WebBaseLoader(url)
53
  with st.spinner("AI Thinking...Please wait a while to Cheers!"):
 
47
 
48
  #loader = WebBaseLoader("https://www.usinoip.com/")
49
 
50
+ if url !="" and not url.strip().isspace() and not url == "" and not url.strip() == "" and not url.isspace():
51
  try:
52
  loader = WebBaseLoader(url)
53
  with st.spinner("AI Thinking...Please wait a while to Cheers!"):