Fix credentials (#75)

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
This commit is contained in:
Freddy Boulton
2025-02-25 19:07:40 -05:00
committed by GitHub
parent 892182701c
commit ff0cb7197f
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ def get_hf_turn_credentials(token=None):
if token is None: if token is None:
token = os.getenv("HF_TOKEN") token = os.getenv("HF_TOKEN")
credentials = requests.get( credentials = requests.get(
"https://freddyaboulton-turn-server-login.hf.space/credentials", "https://fastrtc-turn-server-login.hf.space/credentials",
headers={"X-HF-Access-Token": token}, headers={"X-HF-Access-Token": token},
) )
if not credentials.status_code == 200: if not credentials.status_code == 200:

View File

@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "fastrtc" name = "fastrtc"
version = "0.0.5" version = "0.0.5.post1"
description = "The realtime communication library for Python" description = "The realtime communication library for Python"
readme = "README.md" readme = "README.md"
license = "apache-2.0" license = "apache-2.0"