Semnykcz commited on
Commit
0bea704
·
verified ·
1 Parent(s): a414e5c

Upload 3 files

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ app.add_middleware(
21
  )
22
 
23
  # ── (Jednoduché) Bearer auth přes tajný token v headeru Authorization ----------
24
- API_TOKEN = os.environ.get("API_TOKEN") # nastav v HF Space Settings → Secrets
25
 
26
  def check_auth(auth_header: Optional[str]):
27
  if API_TOKEN:
 
21
  )
22
 
23
  # ── (Jednoduché) Bearer auth přes tajný token v headeru Authorization ----------
24
+ API_TOKEN = os.environ.get("VITE_API_TOKEN") # nastav v HF Space Settings → Secrets
25
 
26
  def check_auth(auth_header: Optional[str]):
27
  if API_TOKEN: