Spaces:
Configuration error
Configuration error
Update app/rtc/rtc_call.py
Browse files52 unmodified lines53545556575859140 unmodified lines20020120220320420552 unmodified linesself.full_response = ""self.stream = Noneself.app = Noneget_documents()self._setup_webrtc_ip()def _setup_webrtc_ip(self):140 unmodified linesdef create_stream(self):try:async def get_credentials():return await get_cloudflare_turn_credentials_async(hf_token=HF_TOKEN)self.stream = Stream(rtc_configuration=get_credentials,52 unmodified lines53545556575859140 unmodified lines20020120220320420520652 unmodified linesself.full_response = ""self.stream = Noneself.app = Noneself._setup_webrtc_ip()def _setup_webrtc_ip(self):140 unmodified linesdef create_stream(self):try:async def get_credentials():await get_documents()return await get_cloudflare_turn_credentials_async(hf_token=HF_TOKEN)self.stream = Stream(rtc_configuration=get_credentials,
app/rtc/rtc_call.py+2-1