Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from deep_translator import GoogleTranslator, exceptions
|
|
10 |
from urllib.parse import quote_plus
|
11 |
|
12 |
# Set up logging
|
13 |
-
logging.basicConfig(level=logging.
|
14 |
|
15 |
# Global variables for database connection, translator, and book names
|
16 |
conn = None
|
|
|
10 |
from urllib.parse import quote_plus
|
11 |
|
12 |
# Set up logging
|
13 |
+
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
14 |
|
15 |
# Global variables for database connection, translator, and book names
|
16 |
conn = None
|