root commited on
Commit
3162dea
·
1 Parent(s): 989bff9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,6 @@ import numpy as np
12
  import tempfile
13
 
14
  from download import download_model
15
- from levo_inference import LeVoInference
16
 
17
  # 下载模型
18
  APP_DIR = op.dirname(op.abspath(__file__))
@@ -23,6 +22,7 @@ download_model(base_full_path, repo_id="lglg666/SongGeneration-base-full", revis
23
  print("Successful downloaded model.")
24
 
25
  # 模型初始化
 
26
  MODEL = LeVoInference(base_full_path)
27
 
28
  EXAMPLE_LYRICS = """
 
12
  import tempfile
13
 
14
  from download import download_model
 
15
 
16
  # 下载模型
17
  APP_DIR = op.dirname(op.abspath(__file__))
 
22
  print("Successful downloaded model.")
23
 
24
  # 模型初始化
25
+ from levo_inference import LeVoInference
26
  MODEL = LeVoInference(base_full_path)
27
 
28
  EXAMPLE_LYRICS = """