MySafeCode commited on
Commit
0741485
·
verified ·
1 Parent(s): 3f36bac

Update a.py

Browse files
Files changed (1) hide show
  1. a.py +2 -2
a.py CHANGED
@@ -7,10 +7,10 @@ import socket
7
 
8
  # Get API key from Hugging Face secret "Key"
9
  API_KEY = os.environ.get("Key", "")
10
-
11
  # Initialize client with better timeout and retry settings
12
  client = Ark(
13
- base_url="https://ark.ap-southeast.bytepluses.com/api/v3",
14
  api_key=API_KEY,
15
  timeout=30.0, # Shorter timeout to fail faster
16
  max_retries=3,
 
7
 
8
  # Get API key from Hugging Face secret "Key"
9
  API_KEY = os.environ.get("Key", "")
10
+ #base_url="https://ark.ap-southeast.bytepluses.com/api/v3"
11
  # Initialize client with better timeout and retry settings
12
  client = Ark(
13
+ base_url="https://1hit.no/proxy/proxy.php",
14
  api_key=API_KEY,
15
  timeout=30.0, # Shorter timeout to fail faster
16
  max_retries=3,