Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ TIER_CONFIG = {
|
|
| 49 |
},
|
| 50 |
"light": {
|
| 51 |
"name": "InferencePort AI Light",
|
| 52 |
-
"url": "https://buy.stripe.com/
|
| 53 |
"price": "9.99",
|
| 54 |
"limits": {
|
| 55 |
"cloudChatDaily": None,
|
|
@@ -60,7 +60,7 @@ TIER_CONFIG = {
|
|
| 60 |
},
|
| 61 |
"core": {
|
| 62 |
"name": "InferencePort AI Core",
|
| 63 |
-
"url": "https://buy.stripe.com/
|
| 64 |
"price": "15.99",
|
| 65 |
"limits": {
|
| 66 |
"cloudChatDaily": None,
|
|
@@ -71,7 +71,7 @@ TIER_CONFIG = {
|
|
| 71 |
},
|
| 72 |
"creator": {
|
| 73 |
"name": "InferencePort AI Creator",
|
| 74 |
-
"url": "https://buy.stripe.com/
|
| 75 |
"price": "29.99",
|
| 76 |
"limits": {
|
| 77 |
"cloudChatDaily": None,
|
|
@@ -82,7 +82,7 @@ TIER_CONFIG = {
|
|
| 82 |
},
|
| 83 |
"professional": {
|
| 84 |
"name": "InferencePort AI Professional",
|
| 85 |
-
"url": "https://buy.stripe.com/
|
| 86 |
"price": "99.99",
|
| 87 |
"limits": {
|
| 88 |
"cloudChatDaily": None,
|
|
@@ -1448,7 +1448,7 @@ async def redirect_to_protal(request: Request):
|
|
| 1448 |
except:
|
| 1449 |
email = None
|
| 1450 |
|
| 1451 |
-
base_url = "https://billing.stripe.com/p/login/
|
| 1452 |
|
| 1453 |
if not email:
|
| 1454 |
return RedirectResponse(url=base_url, status_code=status.HTTP_302_FOUND)
|
|
|
|
| 49 |
},
|
| 50 |
"light": {
|
| 51 |
"name": "InferencePort AI Light",
|
| 52 |
+
"url": "https://buy.stripe.com/bJedR93gk4xw7EFeyabbG08",
|
| 53 |
"price": "9.99",
|
| 54 |
"limits": {
|
| 55 |
"cloudChatDaily": None,
|
|
|
|
| 60 |
},
|
| 61 |
"core": {
|
| 62 |
"name": "InferencePort AI Core",
|
| 63 |
+
"url": "https://buy.stripe.com/28E4gzg365BA1gh61EbbG09",
|
| 64 |
"price": "15.99",
|
| 65 |
"limits": {
|
| 66 |
"cloudChatDaily": None,
|
|
|
|
| 71 |
},
|
| 72 |
"creator": {
|
| 73 |
"name": "InferencePort AI Creator",
|
| 74 |
+
"url": "https://buy.stripe.com/dRmdR98AE5BA8IJ89MbbG0a",
|
| 75 |
"price": "29.99",
|
| 76 |
"limits": {
|
| 77 |
"cloudChatDaily": None,
|
|
|
|
| 82 |
},
|
| 83 |
"professional": {
|
| 84 |
"name": "InferencePort AI Professional",
|
| 85 |
+
"url": "https://buy.stripe.com/14AaEX7wA3ts7EF2PsbbG0b",
|
| 86 |
"price": "99.99",
|
| 87 |
"limits": {
|
| 88 |
"cloudChatDaily": None,
|
|
|
|
| 1448 |
except:
|
| 1449 |
email = None
|
| 1450 |
|
| 1451 |
+
base_url = "https://billing.stripe.com/p/login/5kQdR9aIM3ts4steyabbG00"
|
| 1452 |
|
| 1453 |
if not email:
|
| 1454 |
return RedirectResponse(url=base_url, status_code=status.HTTP_302_FOUND)
|