lionelgarnier commited on
Commit
907bc14
·
1 Parent(s): 99459b9

remove redundant demo launch and session management calls from main execution block

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -515,12 +515,6 @@ def create_interface():
515
 
516
  return demo
517
 
518
- if __name__ == "__main__":
519
- demo = create_interface()
520
- demo.launch()
521
- demo.load(start_session)
522
- demo.unload(end_session)
523
- ```
524
 
525
  if __name__ == "__main__":
526
  # Initialize the Trellis pipeline before creating the interface
 
515
 
516
  return demo
517
 
 
 
 
 
 
 
518
 
519
  if __name__ == "__main__":
520
  # Initialize the Trellis pipeline before creating the interface