Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -364,7 +364,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Self-Forcing FastRTC Demo") as dem
|
|
364 |
gr.Markdown("*Click 'Start Generation' to begin streaming*")
|
365 |
|
366 |
try:
|
367 |
-
rtc_config = get_turn_credentials(hf_token=f"{os.environ.get(
|
368 |
except Exception as e:
|
369 |
print(f"Warning: Could not get TURN credentials: {e}")
|
370 |
rtc_config = None
|
|
|
364 |
gr.Markdown("*Click 'Start Generation' to begin streaming*")
|
365 |
|
366 |
try:
|
367 |
+
rtc_config = get_turn_credentials(hf_token=f"{os.environ.get('HF_TOKEN')}")
|
368 |
except Exception as e:
|
369 |
print(f"Warning: Could not get TURN credentials: {e}")
|
370 |
rtc_config = None
|