Samfy001 commited on
Commit
e93cadc
·
verified ·
1 Parent(s): 41855c0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -3
main.py CHANGED
@@ -75,9 +75,7 @@ async def submit_image_generation(prompt: str, size: str = "1024x1024") -> str:
75
  "authorization": f"Bearer {BEARER_TOKEN}",
76
  "content-type": "application/json",
77
  "origin": "https://desktop.captions.ai",
78
- "user-agent": "
79
- user: Optional[str
80
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
81
  "x-app-version": "1.0.0",
82
  "x-captions-user-timezone": "UTC",
83
  "x-device-id": str(uuid.uuid4()).replace("-", "")
 
75
  "authorization": f"Bearer {BEARER_TOKEN}",
76
  "content-type": "application/json",
77
  "origin": "https://desktop.captions.ai",
78
+ "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
 
 
79
  "x-app-version": "1.0.0",
80
  "x-captions-user-timezone": "UTC",
81
  "x-device-id": str(uuid.uuid4()).replace("-", "")