mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 09:29:23 +08:00
Fix credentials (#75)
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user