diff --git a/MANIFEST.in b/MANIFEST.in index 9cda5dc..329eb3a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ include LICENSE include README.md include CHANGELOG.md -recursive-include ra_aid/webui/static * +recursive-include ra_aid/server/static * diff --git a/ra_aid/__main__.py b/ra_aid/__main__.py index 47481eb..aa8ff75 100644 --- a/ra_aid/__main__.py +++ b/ra_aid/__main__.py @@ -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) diff --git a/ra_aid/webui/__init__.py b/ra_aid/server/__init__.py similarity index 74% rename from ra_aid/webui/__init__.py rename to ra_aid/server/__init__.py index 5acfc1e..c05ee4d 100644 --- a/ra_aid/webui/__init__.py +++ b/ra_aid/server/__init__.py @@ -2,4 +2,4 @@ from .server import run_server -__all__ = ["run_server"] +__all__ = ["run_server"] \ No newline at end of file diff --git a/ra_aid/webui/server.py b/ra_aid/server/server.py similarity index 99% rename from ra_aid/webui/server.py rename to ra_aid/server/server.py index fa55067..6291c49 100644 --- a/ra_aid/webui/server.py +++ b/ra_aid/server/server.py @@ -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) \ No newline at end of file diff --git a/ra_aid/webui/static/index.html b/ra_aid/server/static/index.html similarity index 100% rename from ra_aid/webui/static/index.html rename to ra_aid/server/static/index.html diff --git a/ra_aid/webui/static/script.js b/ra_aid/server/static/script.js similarity index 100% rename from ra_aid/webui/static/script.js rename to ra_aid/server/static/script.js