lionelgarnier commited on
Commit
a5cc2b7
·
1 Parent(s): 34046eb

remove model preloading initialization from main execution

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -496,10 +496,6 @@ def create_interface():
496
  return demo
497
 
498
  if __name__ == "__main__":
499
- # Initialize models if PRELOAD_MODELS is True
500
- if PRELOAD_MODELS:
501
- success, status = preload_models()
502
- print(status)
503
 
504
  trellis = get_trellis_pipeline()
505
  trellis.cuda()
 
496
  return demo
497
 
498
  if __name__ == "__main__":
 
 
 
 
499
 
500
  trellis = get_trellis_pipeline()
501
  trellis.cuda()