Samfy001 commited on
Commit
9d0fdaa
·
verified ·
1 Parent(s): e93cadc

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -117,8 +117,7 @@ async def submit_image_generation(prompt: str, size: str = "1024x1024") -> str:
117
  async def check_generation_status(operation_id: str) -> dict:
118
  """Check the status of image generation"""
119
  headers = {
120
- "accept": "application/json, text/plain
121
- , */*",
122
  "authorization": f"Bearer {BEARER_TOKEN}",
123
  "content-type": "application/json",
124
  "origin": "https://desktop.captions.ai",
 
117
  async def check_generation_status(operation_id: str) -> dict:
118
  """Check the status of image generation"""
119
  headers = {
120
+ "accept": "application/json, text/plain, */*",
 
121
  "authorization": f"Bearer {BEARER_TOKEN}",
122
  "content-type": "application/json",
123
  "origin": "https://desktop.captions.ai",