diff --git a/main.py b/main.py index 85e3387..c185bfb 100644 --- a/main.py +++ b/main.py @@ -178,7 +178,7 @@ with tab3: # Send the POST request with the JSON data in the request body response = requests.post(f"{fabriquedoc_endpoint}/generer/", json=document_specs.model_dump(), - headers=http_headers) + headers=post_headers) # Check the response status code if 200 <= response.status_code <= 299: # If the request is successful, get the file data from the response