Spaces:
Sleeping
Sleeping
Commit
·
7ac57db
1
Parent(s):
5276062
change log level to Info
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
from textblob import TextBlob
|
| 5 |
|
| 6 |
logging.basicConfig(
|
| 7 |
-
level=logging.
|
| 8 |
format="%(asctime)s - %(levelname)s - %(message)s", # Define the log format
|
| 9 |
handlers=[
|
| 10 |
logging.StreamHandler() # Ensure logs are displayed on the console
|
|
|
|
| 4 |
from textblob import TextBlob
|
| 5 |
|
| 6 |
logging.basicConfig(
|
| 7 |
+
level=logging.INFO, # Set the logging level
|
| 8 |
format="%(asctime)s - %(levelname)s - %(message)s", # Define the log format
|
| 9 |
handlers=[
|
| 10 |
logging.StreamHandler() # Ensure logs are displayed on the console
|