webui -> server

This commit is contained in:
AI Christianson 2025-03-15 15:14:56 -04:00
parent e0aab1021b
commit 77cfbdeca7
6 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
include LICENSE
include README.md
include CHANGELOG.md
recursive-include ra_aid/webui/static *
recursive-include ra_aid/server/static *

View File

@ -101,7 +101,7 @@ if hasattr(litellm, "_logging") and hasattr(litellm._logging, "_disable_debuggin
def launch_server(host: str, port: int):
"""Launch the RA.Aid web interface."""
from ra_aid.webui import run_server
from ra_aid.server import run_server
print(f"Starting RA.Aid web interface on http://{host}:{port}")
run_server(host=host, port=port)

View File

@ -2,4 +2,4 @@
from .server import run_server
__all__ = ["run_server"]
__all__ = ["run_server"]

View File

@ -263,4 +263,4 @@ if __name__ == "__main__":
)
args = parser.parse_args()
run_server(host=args.host, port=args.port)
run_server(host=args.host, port=args.port)