Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -370,9 +370,9 @@ async def get_completion(payload: Payload, request: Request, authenticated: bool
|
|
370 |
else:
|
371 |
endpoint = env_vars['secret_api_endpoint']
|
372 |
custom_headers = {}
|
373 |
-
|
374 |
scraper = get_scraper()
|
375 |
-
|
376 |
async def stream_generator(payload_dict):
|
377 |
try:
|
378 |
# Send POST request with the correct headers
|
|
|
370 |
else:
|
371 |
endpoint = env_vars['secret_api_endpoint']
|
372 |
custom_headers = {}
|
373 |
+
print(f"laude ye endpoint use kia: {endpoint}")
|
374 |
scraper = get_scraper()
|
375 |
+
|
376 |
async def stream_generator(payload_dict):
|
377 |
try:
|
378 |
# Send POST request with the correct headers
|