Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,16 +12,15 @@ from datetime import datetime
|
|
12 |
from typing import List, Dict, Optional, Union
|
13 |
from pathlib import Path
|
14 |
from urllib.parse import urlparse
|
15 |
-
|
16 |
import requests
|
17 |
import validators
|
18 |
import gradio as gr
|
19 |
-
from diskcache import Cache
|
20 |
from bs4 import BeautifulSoup
|
21 |
from fake_useragent import UserAgent
|
22 |
from ratelimit import limits, sleep_and_retry
|
23 |
from cleantext import clean
|
24 |
|
|
|
25 |
# Setup logging with detailed configuration
|
26 |
logging.basicConfig(
|
27 |
level=logging.INFO,
|
|
|
12 |
from typing import List, Dict, Optional, Union
|
13 |
from pathlib import Path
|
14 |
from urllib.parse import urlparse
|
|
|
15 |
import requests
|
16 |
import validators
|
17 |
import gradio as gr
|
|
|
18 |
from bs4 import BeautifulSoup
|
19 |
from fake_useragent import UserAgent
|
20 |
from ratelimit import limits, sleep_and_retry
|
21 |
from cleantext import clean
|
22 |
|
23 |
+
|
24 |
# Setup logging with detailed configuration
|
25 |
logging.basicConfig(
|
26 |
level=logging.INFO,
|