webui -> server
This commit is contained in:
parent
e0aab1021b
commit
77cfbdeca7
|
|
@ -1,4 +1,4 @@
|
||||||
include LICENSE
|
include LICENSE
|
||||||
include README.md
|
include README.md
|
||||||
include CHANGELOG.md
|
include CHANGELOG.md
|
||||||
recursive-include ra_aid/webui/static *
|
recursive-include ra_aid/server/static *
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ if hasattr(litellm, "_logging") and hasattr(litellm._logging, "_disable_debuggin
|
||||||
|
|
||||||
def launch_server(host: str, port: int):
|
def launch_server(host: str, port: int):
|
||||||
"""Launch the RA.Aid web interface."""
|
"""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}")
|
print(f"Starting RA.Aid web interface on http://{host}:{port}")
|
||||||
run_server(host=host, port=port)
|
run_server(host=host, port=port)
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
from .server import run_server
|
from .server import run_server
|
||||||
|
|
||||||
__all__ = ["run_server"]
|
__all__ = ["run_server"]
|
||||||
|
|
@ -263,4 +263,4 @@ if __name__ == "__main__":
|
||||||
)
|
)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
run_server(host=args.host, port=args.port)
|
run_server(host=args.host, port=args.port)
|
||||||
Loading…
Reference in New Issue