NeerajCodz commited on
Commit
6a8c4a1
·
1 Parent(s): e09031a

1.1 beta test

Browse files
app.py CHANGED
@@ -39,7 +39,7 @@ except Exception as e:
39
  print(f"⚠️ Warning during sklearn compatibility setup: {e}")
40
 
41
  # --- MODEL CONFIGURATION & CONSTANTS ---
42
- VERSION = "1.0"
43
  MODELS = {} # Global dictionary to store loaded pipelines
44
 
45
  # Update this map based on the actual model names saved by your training script
@@ -71,7 +71,7 @@ DATA_DF: Optional[pd.DataFrame] = None # Global variable to cache the data
71
  origins = [
72
  "http://localhost:3000",
73
  "http://127.0.0.1:3000",
74
- "https://your-frontend-domain.com" # Update with your actual frontend domain
75
  ]
76
 
77
  # --- FASTAPI SETUP ---
 
39
  print(f"⚠️ Warning during sklearn compatibility setup: {e}")
40
 
41
  # --- MODEL CONFIGURATION & CONSTANTS ---
42
+ VERSION = "1.1"
43
  MODELS = {} # Global dictionary to store loaded pipelines
44
 
45
  # Update this map based on the actual model names saved by your training script
 
71
  origins = [
72
  "http://localhost:3000",
73
  "http://127.0.0.1:3000",
74
+ "https://http://ai-credit-card-fraud-detection.vercel.app" # Update with your actual frontend domain
75
  ]
76
 
77
  # --- FASTAPI SETUP ---
classifier/ccfd_1.1_decision-tree.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e2599ab6a01232d6979e0137b417fa58e73782322a0ac533948499ed2f6238
3
+ size 153963
classifier/ccfd_1.1_random-forest.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bb08d45a72b5f6f1139818189ed9a734791d2713139c705269ad8eb38b78506
3
+ size 43356914
classifier/ccfd_1.1_xg-boost.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bfcab38d0f30c719f8d6ed0fa7c9e1ff9c63bd27f688bade431a746e9f0764c
3
+ size 5201034