asigalov61 commited on
Commit
1543d57
1 Parent(s): c2734a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ def load_javascript(dir="javascript"):
146
  res.init_headers()
147
  return res
148
 
149
- gr.templates.TemplateResponse = template_response
150
 
151
 
152
  class JSMsgReceiver(gr.Interface):
 
146
  res.init_headers()
147
  return res
148
 
149
+ gr.routes.templates.TemplateResponse = template_response
150
 
151
 
152
  class JSMsgReceiver(gr.Interface):