adpro commited on
Commit
e4c2a72
·
verified ·
1 Parent(s): af4b9a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  from bs4 import BeautifulSoup
5
 
6
  def run_lora(prompt,site):
7
- page = requests.get("https://www.google.dz/search?q=site:" +site + " " +prompt)
8
  soup = BeautifulSoup(page.content)
9
  import re
10
  links = soup.findAll("a")
 
4
  from bs4 import BeautifulSoup
5
 
6
  def run_lora(prompt,site):
7
+ page = requests.get("https://www.google.dz/search?q=site:" +site + " " +prompt + "&tbs=cdr%3A1%2Ccd_min%3A1/1/2018%2Ccd_max%3A8/22/2024")
8
  soup = BeautifulSoup(page.content)
9
  import re
10
  links = soup.findAll("a")