openfree commited on
Commit
4ef7fc9
·
verified ·
1 Parent(s): c73ae40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def fetch_zero_gpu_spaces_once():
45
  try:
46
  url = "https://huggingface.co/api/spaces"
47
  params = {
48
- "limit": 500, # 너무 크게 잡으면 응답 지연 → 50개 내외로 제한
49
  "hardware": "cpu"
50
  }
51
  resp = requests.get(url, params=params, timeout=30)
 
45
  try:
46
  url = "https://huggingface.co/api/spaces"
47
  params = {
48
+ "limit": 1000, # 너무 크게 잡으면 응답 지연 → 50개 내외로 제한
49
  "hardware": "cpu"
50
  }
51
  resp = requests.get(url, params=params, timeout=30)