yangtb24 commited on
Commit
5c8687e
·
verified ·
1 Parent(s): 4296023

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -15
app.py CHANGED
@@ -525,27 +525,13 @@ def billing_subscription():
525
 
526
  return jsonify({
527
  "object": "billing_subscription",
528
- "has_payment_method": False,
529
- "canceled": False,
530
- "canceled_at": None,
531
- "delinquent": None,
532
  "access_until": int(datetime(9999, 12, 31).timestamp()),
533
  "soft_limit": 0,
534
  "hard_limit": total_balance,
535
  "system_hard_limit": total_balance,
536
  "soft_limit_usd": 0,
537
  "hard_limit_usd": total_balance,
538
- "system_hard_limit_usd": total_balance,
539
- "plan": {
540
- "name": "SiliconFlow API",
541
- "id": "siliconflow-api"
542
- },
543
- "account_name": "SiliconFlow User",
544
- "po_number": None,
545
- "billing_email": None,
546
- "tax_ids": [],
547
- "billing_address": None,
548
- "business_address": None
549
  })
550
 
551
  @app.route('/handsome/v1/embeddings', methods=['POST'])
 
525
 
526
  return jsonify({
527
  "object": "billing_subscription",
 
 
 
 
528
  "access_until": int(datetime(9999, 12, 31).timestamp()),
529
  "soft_limit": 0,
530
  "hard_limit": total_balance,
531
  "system_hard_limit": total_balance,
532
  "soft_limit_usd": 0,
533
  "hard_limit_usd": total_balance,
534
+ "system_hard_limit_usd": total_balance
 
 
 
 
 
 
 
 
 
 
535
  })
536
 
537
  @app.route('/handsome/v1/embeddings', methods=['POST'])