iShare commited on
Commit
5c43704
·
1 Parent(s): ce6e95d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,9 +34,9 @@ url=st.text_input("Enter webiste URL to summarize (format: https://www.usinoip.c
34
 
35
  if url !="" and not url.strip().isspace() and not url == "" and not url.strip() == "" and not url.isspace():
36
  try:
37
- loader = WebBaseLoader(url)
38
  #loader = WebBaseLoader("https://www.usinoip.com/")
39
  with st.spinner("AI Thinking...Please wait a while to Cheers!"):
 
40
  docs = loader.load()
41
  result=chain.run(docs) #这个result的格式比较特殊,可以直接print,但不可以和其他字符串联合print输出
42
 
 
34
 
35
  if url !="" and not url.strip().isspace() and not url == "" and not url.strip() == "" and not url.isspace():
36
  try:
 
37
  #loader = WebBaseLoader("https://www.usinoip.com/")
38
  with st.spinner("AI Thinking...Please wait a while to Cheers!"):
39
+ loader = WebBaseLoader(url)
40
  docs = loader.load()
41
  result=chain.run(docs) #这个result的格式比较特殊,可以直接print,但不可以和其他字符串联合print输出
42