Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -622,19 +622,19 @@ with gr.Blocks(title=APP_TITLE) as demo:
|
|
| 622 |
|
| 623 |
with gr.Tab("Billing"):
|
| 624 |
gr.Markdown(
|
| 625 |
-
|
| 626 |
"
|
| 627 |
-
|
| 628 |
"
|
| 629 |
-
|
| 630 |
"
|
| 631 |
-
|
| 632 |
|
| 633 |
"
|
| 634 |
"Stripe billing is built-in (optional). If Stripe isn't configured, you can set the Space to Private/Paid as a paywall."
|
| 635 |
)
|
| 636 |
-
pro_btn = gr.Button(
|
| 637 |
-
ent_btn = gr.Button(
|
| 638 |
starter_btn = gr.Button("Buy Credits β Starter (250)")
|
| 639 |
creator_btn = gr.Button("Buy Credits β Creator (750)")
|
| 640 |
power_btn = gr.Button("Buy Credits β Power (2500)")
|
|
|
|
| 622 |
|
| 623 |
with gr.Tab("Billing"):
|
| 624 |
gr.Markdown(
|
| 625 |
+
"### Plans
|
| 626 |
"
|
| 627 |
+
"- **{PLANS['free']['name']} (Free)**: {PLANS['free']['runs_per_day']} runs/day, low-risk tools
|
| 628 |
"
|
| 629 |
+
"- **{PLANS['pro']['name']} (Pro)**: {PLANS['pro']['runs_per_day']} runs/day, medium-risk tools
|
| 630 |
"
|
| 631 |
+
"- **{PLANS['enterprise']['name']} (Enterprise)**: {PLANS['enterprise']['runs_per_day']} runs/day, high-risk tools
|
| 632 |
|
| 633 |
"
|
| 634 |
"Stripe billing is built-in (optional). If Stripe isn't configured, you can set the Space to Private/Paid as a paywall."
|
| 635 |
)
|
| 636 |
+
pro_btn = gr.Button("Subscribe β {PLANS['pro']['name']}")
|
| 637 |
+
ent_btn = gr.Button("Subscribe β {PLANS['enterprise']['name']}")
|
| 638 |
starter_btn = gr.Button("Buy Credits β Starter (250)")
|
| 639 |
creator_btn = gr.Button("Buy Credits β Creator (750)")
|
| 640 |
power_btn = gr.Button("Buy Credits β Power (2500)")
|