multimodalart HF Staff commited on
Commit
cc0424f
·
verified ·
1 Parent(s): e144d2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()
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