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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue