Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ hf_hub_download(
|
|
16 |
)
|
17 |
|
18 |
import os
|
19 |
-
print(os.environ.get('HF_TOKEN'))
|
20 |
import re
|
21 |
import random
|
22 |
import argparse
|
@@ -370,7 +369,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Self-Forcing FastRTC Demo") as dem
|
|
370 |
mode="receive", # Server sends video to client
|
371 |
height=480,
|
372 |
width=832,
|
373 |
-
rtc_configuration=get_turn_credentials(),
|
374 |
elem_id="video_stream"
|
375 |
)
|
376 |
|
|
|
16 |
)
|
17 |
|
18 |
import os
|
|
|
19 |
import re
|
20 |
import random
|
21 |
import argparse
|
|
|
369 |
mode="receive", # Server sends video to client
|
370 |
height=480,
|
371 |
width=832,
|
372 |
+
rtc_configuration=get_turn_credentials(token=os.environ.get('HF_TOKEN')),
|
373 |
elem_id="video_stream"
|
374 |
)
|
375 |
|