fix
Browse files- app.py +0 -7
- requirements.txt +2 -1
app.py
CHANGED
@@ -11,17 +11,10 @@ import random
|
|
11 |
import re
|
12 |
import requests
|
13 |
from bs4 import BeautifulSoup
|
14 |
-
import random
|
15 |
import logging
|
16 |
import time
|
17 |
from urllib.parse import urlparse
|
18 |
|
19 |
-
import requests
|
20 |
-
from bs4 import BeautifulSoup
|
21 |
-
import random
|
22 |
-
import logging
|
23 |
-
import time
|
24 |
-
from urllib.parse import urlparse
|
25 |
|
26 |
class URLTextExtractor:
|
27 |
"""
|
|
|
11 |
import re
|
12 |
import requests
|
13 |
from bs4 import BeautifulSoup
|
|
|
14 |
import logging
|
15 |
import time
|
16 |
from urllib.parse import urlparse
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
class URLTextExtractor:
|
20 |
"""
|
requirements.txt
CHANGED
@@ -4,4 +4,5 @@ gradio
|
|
4 |
pdfplumber
|
5 |
python-docx
|
6 |
gradio
|
7 |
-
python-pptx
|
|
|
|
4 |
pdfplumber
|
5 |
python-docx
|
6 |
gradio
|
7 |
+
python-pptx
|
8 |
+
beautifulsoup4
|