InnerI commited on
Commit
c307d6a
Β·
verified Β·
1 Parent(s): 4420828

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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
- f"### Plans
626
  "
627
- f"- **{PLANS['free']['name']} (Free)**: {PLANS['free']['runs_per_day']} runs/day, low-risk tools
628
  "
629
- f"- **{PLANS['pro']['name']} (Pro)**: {PLANS['pro']['runs_per_day']} runs/day, medium-risk tools
630
  "
631
- f"- **{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(f"Subscribe β€” {PLANS['pro']['name']}")
637
- ent_btn = gr.Button(f"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)")
 
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)")