adpro commited on
Commit
c7901d4
·
verified ·
1 Parent(s): 74ee06b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def run_lora(prompt,site,start,end):
11
 
12
  # to search
13
  query = "Python programming"
14
- url = fhttps://www.google.com/search?q=inurl:" +site + "+" +prompt + "&tbs=cdr%3A1%2Ccd_min%3A"+start+"%2Ccd_max%3A" + end
15
  response = requests.get(url)
16
  soup = BeautifulSoup(response.text, 'html.parser')
17
  print(soup)
 
11
 
12
  # to search
13
  query = "Python programming"
14
+ url = f"https://www.google.com/search?q=inurl:{site}+{prompt}&tbs=cdr%3A1%2Ccd_min%3A{start}%2Ccd_max%3A {end}"
15
  response = requests.get(url)
16
  soup = BeautifulSoup(response.text, 'html.parser')
17
  print(soup)