randydev commited on
Commit
7f214de
1 Parent(s): 84b8f07

Update fluxai.py

Browse files
Files changed (1) hide show
  1. fluxai.py +0 -3
fluxai.py CHANGED
@@ -51,9 +51,6 @@ def deduct_tokens_gpt(user_id, amount):
51
 
52
  @router.post("/akeno/fluxai", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
53
  async def fluxai_image(payload: FluxAI):
54
- if payload.user_id == 1191668125:
55
- return SuccessResponse(status="False", randydev={"message": "Only Developer."})
56
-
57
  if deduct_tokens_gpt(payload.user_id, amount=20):
58
  try:
59
  image_bytes = await schellwithflux(payload.args)
 
51
 
52
  @router.post("/akeno/fluxai", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
53
  async def fluxai_image(payload: FluxAI):
 
 
 
54
  if deduct_tokens_gpt(payload.user_id, amount=20):
55
  try:
56
  image_bytes = await schellwithflux(payload.args)