Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,9 @@ import random
|
|
6 |
|
7 |
from fastrtc import AdditionalOutputs, WebRTC, ReplyOnPause, get_cloudflare_turn_credentials_async, get_cloudflare_turn_credentials
|
8 |
|
9 |
-
|
10 |
async def get_credentials():
|
11 |
-
return await get_cloudflare_turn_credentials_async(hf_token=
|
12 |
|
13 |
possible_responses = [
|
14 |
"hello",
|
|
|
6 |
|
7 |
from fastrtc import AdditionalOutputs, WebRTC, ReplyOnPause, get_cloudflare_turn_credentials_async, get_cloudflare_turn_credentials
|
8 |
|
9 |
+
HF_TOKEN = os.getenv("HF_TOKEN")
|
10 |
async def get_credentials():
|
11 |
+
return await get_cloudflare_turn_credentials_async(hf_token=HF_TOKEN)
|
12 |
|
13 |
possible_responses = [
|
14 |
"hello",
|