Spaces:
Running
Running
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
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()
|