Firoj112 commited on
Commit
3212367
·
verified ·
1 Parent(s): 45ca866

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ def run_agent_chat(user_input: str, history: list):
168
  url = user_input.split()[0] if user_input.startswith("http") else next((w for w in user_input.split() if w.startswith("http")), "")
169
  request = user_input.replace(url, "").strip() or "Navigate to the URL and describe the page."
170
  else:
171
- url = "[invalid url, do not cite]
172
  request = user_input
173
 
174
  search_request = f"Please go to {url}. {request}"
 
168
  url = user_input.split()[0] if user_input.startswith("http") else next((w for w in user_input.split() if w.startswith("http")), "")
169
  request = user_input.replace(url, "").strip() or "Navigate to the URL and describe the page."
170
  else:
171
+ url = "[invalid url, do not cite]"
172
  request = user_input
173
 
174
  search_request = f"Please go to {url}. {request}"