Update processing_logic.py
Browse files- processing_logic.py +1 -1
processing_logic.py
CHANGED
|
@@ -304,7 +304,7 @@ def process_rar_file(rar_path: str) -> List[Dict]:
|
|
| 304 |
if os.path.exists(extract_dir):
|
| 305 |
shutil.rmtree(extract_dir, ignore_errors=True)
|
| 306 |
|
| 307 |
-
def process_hf_files_background(start_index: int =
|
| 308 |
"""Background task to process HuggingFace files"""
|
| 309 |
if not hf_api:
|
| 310 |
log_message("❌ HuggingFace API not configured (missing HF_TOKEN)")
|
|
|
|
| 304 |
if os.path.exists(extract_dir):
|
| 305 |
shutil.rmtree(extract_dir, ignore_errors=True)
|
| 306 |
|
| 307 |
+
def process_hf_files_background(start_index: int = 9, limit: int = DEFAULT_RAR_LIMIT):
|
| 308 |
"""Background task to process HuggingFace files"""
|
| 309 |
if not hf_api:
|
| 310 |
log_message("❌ HuggingFace API not configured (missing HF_TOKEN)")
|