Spaces:
Sleeping
Sleeping
File size: 378 Bytes
35d761c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from app.ai.ml_classifier import classify_transaction
from app.ai.orchestrator import clean_merchant_name
import sys
raw_desc = "ADOBE *CREATIVE CLOUD 800-833-6687 CA"
clean_name = clean_merchant_name(raw_desc)
print(f"Clean name: {clean_name}")
try:
res = classify_transaction(clean_name)
print(f"ML Result: {res}")
except Exception as e:
print(f"ML Error: {e}")
|