import torch from llmtuner import create_ui if __name__ == "__main__" demo_ui = create_ui(demo_mode=(not torch.cuda.is_available())) demo.queue().launch()