LLaMA-Factory-Mirror/src/train_web.py

12 lines
193 B
Python

from llmtuner import create_ui
def main():
demo = create_ui()
demo.queue()
demo.launch(server_name="0.0.0.0", share=False, inbrowser=True)
if __name__ == "__main__":
main()