Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,13 @@ from spacy.language import Language
|
|
25 |
import google_auth_oauthlib.flow
|
26 |
import googleapiclient.discovery
|
27 |
import google.auth.transport.requests
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
# Google OAuth Configuration
|
30 |
GOOGLE_OAUTH_CONFIG = {
|
31 |
"web": {
|
|
|
25 |
import google_auth_oauthlib.flow
|
26 |
import googleapiclient.discovery
|
27 |
import google.auth.transport.requests
|
28 |
+
# -------------------- Logging Setup --------------------
|
29 |
+
logging.basicConfig(
|
30 |
+
filename='advanced_download_log.txt',
|
31 |
+
level=logging.INFO,
|
32 |
+
format='%(asctime)s - %(levelname)s - %(message)s'
|
33 |
+
)
|
34 |
+
logger = logging.getLogger(__name__)
|
35 |
# Google OAuth Configuration
|
36 |
GOOGLE_OAUTH_CONFIG = {
|
37 |
"web": {
|