astronolan commited on
Commit
c56e632
Β·
1 Parent(s): 11f6de9

Add app and server initialization for AION-Search model

Browse files

- Initialize app with 'aionsearchmodel.pt' checkpoint
- Expose server at module level for compatibility with deployment

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -128,6 +128,8 @@ def main():
128
  port=args.port
129
  )
130
 
 
 
131
 
132
  if __name__ == "__main__":
133
  main()
 
128
  port=args.port
129
  )
130
 
131
+ app = create_app('aionsearchmodel.pt')
132
+ server = app.server
133
 
134
  if __name__ == "__main__":
135
  main()