update ui and add examples
This commit is contained in:
@@ -71,6 +71,7 @@ def main(checkpoint_path, server_name, port, device_id, share, bf16, torch_compi
|
||||
demo = create_main_demo_ui(
|
||||
text2music_process_func=model_demo.__call__,
|
||||
sample_data_func=data_sampler.sample,
|
||||
load_data_func=data_sampler.load_json,
|
||||
)
|
||||
demo.launch(server_name=server_name, server_port=port, share=share)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user