freddyaboulton HF staff commited on
Commit
13f6bfe
·
verified ·
1 Parent(s): 41e3cd3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def index():
59
  rtc_config = get_twilio_turn_credentials() if get_space() else None
60
  html_content = (cur_dir / "index.html").read_text()
61
  html_content = html_content.replace("__RTC_CONFIGURATION__", json.dumps(rtc_config))
62
- return HTMLResponse(content=open(cur_dir / "index.html").read())
63
 
64
 
65
  if __name__ == "__main__":
 
59
  rtc_config = get_twilio_turn_credentials() if get_space() else None
60
  html_content = (cur_dir / "index.html").read_text()
61
  html_content = html_content.replace("__RTC_CONFIGURATION__", json.dumps(rtc_config))
62
+ return HTMLResponse(content=html_content)
63
 
64
 
65
  if __name__ == "__main__":