Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|