artintel235 commited on
Commit
9272e30
·
verified ·
1 Parent(s): 35c3d12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -48,6 +48,7 @@ async def generate_image_async(prompt, aspect_ratio):
48
  GLIF_API_TOKEN = os.getenv(f"GLIF_API_TOKEN{glif_token_id}")
49
  response_data = await generate_image_async(prompt, aspect_ratio)
50
  glif_tokens_tried = 0
 
51
  response_data = "No credits available"
52
  return response_data
53
  elif "output" in response_data:
 
48
  GLIF_API_TOKEN = os.getenv(f"GLIF_API_TOKEN{glif_token_id}")
49
  response_data = await generate_image_async(prompt, aspect_ratio)
50
  glif_tokens_tried = 0
51
+ return response_data
52
  response_data = "No credits available"
53
  return response_data
54
  elif "output" in response_data: