Spaces:
Sleeping
Sleeping
Gaurav vashistha
commited on
Commit
·
01bccd8
1
Parent(s):
683cf64
Fix: Corrected logger initialization (name -> __name__)
Browse files
agent.py
CHANGED
|
@@ -9,7 +9,7 @@ from google.genai import types
|
|
| 9 |
from config import Settings
|
| 10 |
from utils import download_to_temp, download_blob, save_video_bytes, update_job_status, stitch_videos
|
| 11 |
logging.basicConfig(level=logging.INFO)
|
| 12 |
-
logger = logging.getLogger(
|
| 13 |
|
| 14 |
def get_file_hash(filepath):
|
| 15 |
"""Calculates MD5 hash of file to prevent duplicate uploads."""
|
|
|
|
| 9 |
from config import Settings
|
| 10 |
from utils import download_to_temp, download_blob, save_video_bytes, update_job_status, stitch_videos
|
| 11 |
logging.basicConfig(level=logging.INFO)
|
| 12 |
+
logger = logging.getLogger(__name__)
|
| 13 |
|
| 14 |
def get_file_hash(filepath):
|
| 15 |
"""Calculates MD5 hash of file to prevent duplicate uploads."""
|