sharktide commited on
Commit
da31625
·
verified ·
1 Parent(s): 055bd14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -34,7 +34,7 @@ async def reroute_to_status():
34
 
35
  OLLAMA_LIBRARY_URL = "https://ollama.com/library"
36
 
37
- PLAN_ORDER = ["free", "light", "pro", "creator", "professional"]
38
  TIER_CONFIG = {
39
  "free": {
40
  "name": "Free Tier",
@@ -58,7 +58,7 @@ TIER_CONFIG = {
58
  "audioWeekly": 5,
59
  },
60
  },
61
- "pro": {
62
  "name": "InferencePort AI Core",
63
  "url": "https://buy.stripe.com/test_bJe9AT2fg6vt23rgaq8bS01",
64
  "price": "15.99",
@@ -302,8 +302,8 @@ def normalize_plan_key(plan_name: Optional[str]) -> str:
302
  return "professional"
303
  if "creator" in normalized:
304
  return "creator"
305
- if "pro" in normalized:
306
- return "pro"
307
  if "light" in normalized:
308
  return "light"
309
  return "free"
 
34
 
35
  OLLAMA_LIBRARY_URL = "https://ollama.com/library"
36
 
37
+ PLAN_ORDER = ["free", "light", "core", "creator", "professional"]
38
  TIER_CONFIG = {
39
  "free": {
40
  "name": "Free Tier",
 
58
  "audioWeekly": 5,
59
  },
60
  },
61
+ "core": {
62
  "name": "InferencePort AI Core",
63
  "url": "https://buy.stripe.com/test_bJe9AT2fg6vt23rgaq8bS01",
64
  "price": "15.99",
 
302
  return "professional"
303
  if "creator" in normalized:
304
  return "creator"
305
+ if "core" in normalized:
306
+ return "core"
307
  if "light" in normalized:
308
  return "light"
309
  return "free"