Raiff1982 commited on
Commit
dd22b1a
·
verified ·
1 Parent(s): 3504539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -106,5 +106,11 @@ demo = gr.TabbedInterface(
106
  description="Train Codriao, run TB diagnostics, and download updated models."
107
  )
108
 
 
109
  if __name__ == "__main__":
110
- demo.launch()
 
 
 
 
 
 
106
  description="Train Codriao, run TB diagnostics, and download updated models."
107
  )
108
 
109
+
110
  if __name__ == "__main__":
111
+ try:
112
+ ai_core = AICoreAGIX()
113
+ ...
114
+ finally:
115
+ asyncio.run(ai_core.shutdown())
116
+