sumittech commited on
Commit
d887112
·
verified ·
1 Parent(s): 79e7c20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1089,7 +1089,9 @@ function esc(s){return String(s).replace(/&/g,'&amp;').replace(/</g,'&lt;').repl
1089
  </body>
1090
  </html>"""
1091
 
1092
-
 
 
1093
 
1094
  if __name__ == '__main__':
1095
  uvicorn.run(app_ui, host='0.0.0.0', port=7860)
 
1089
  </body>
1090
  </html>"""
1091
 
1092
+ @app_ui.get('/', response_class=HTMLResponse)
1093
+ async def root():
1094
+ return HTML_UI
1095
 
1096
  if __name__ == '__main__':
1097
  uvicorn.run(app_ui, host='0.0.0.0', port=7860)