mirror of
https://github.com/ooyinet/WeClone.git
synced 2026-08-29 08:42:49 +08:00
14 lines
306 B
Python
14 lines
306 B
Python
from llamafactory.webui.interface import create_web_demo
|
|
from weclone.utils.config import load_config
|
|
|
|
|
|
def main():
|
|
config = load_config("web_demo")
|
|
demo = create_web_demo()
|
|
demo.queue()
|
|
demo.launch(server_name="0.0.0.0", share=True, inbrowser=True)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|