ParthSadaria commited on
Commit
5999942
·
verified ·
1 Parent(s): f2d8224

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -1
main.py CHANGED
@@ -419,7 +419,11 @@ async def get_completion(payload: Payload, request: Request, authenticated: bool
419
  custom_headers = {}
420
  else:
421
  endpoint = env_vars['secret_api_endpoint']
422
- custom_headers = {}
 
 
 
 
423
 
424
  print(f"Using endpoint: {endpoint} for model: {model_to_use}")
425
 
 
419
  custom_headers = {}
420
  else:
421
  endpoint = env_vars['secret_api_endpoint']
422
+ custom_headers = {
423
+ "Origin": "https://gpt-chatbotru-4-o1.ru",
424
+ "Priority": "u=1, i",
425
+ "Referer": "https://gpt-chatbotru-4-o1.ru/"
426
+ }
427
 
428
  print(f"Using endpoint: {endpoint} for model: {model_to_use}")
429