glt3953 commited on
Commit
a49f276
·
1 Parent(s): 09a4e85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ if not os.path.exists(works_path):
15
  os.makedirs(works_path)
16
  print('作品目录:' + works_path)
17
 
18
- modelname = "medium"
19
  model = whisper.load_model(modelname) #tiny、base、small、medium(可用)、large
20
 
21
  def transcript(audiofile, prompt, output_dir):
@@ -103,7 +103,7 @@ css_style = "#fixed_size_img {height: 240px;} " \
103
  "#overview {margin: auto;max-width: 400px; max-height: 400px;}"
104
 
105
  title = "音视频转录 by宁侠"
106
- description = "您只需要输入一张物体照片和背景图,即可快速完成背景替换,让物体仿佛置身于不同的场景中,实现穿越体验!无论是漫游古代的宫殿,还是探索未来的科技世界,我们的系统能让您轻松达成,让您的想象力得以自由驰骋!快来体验吧,欢迎使用我们的通用换景服务!"
107
 
108
  examples_path = 'examples/'
109
  examples = [[examples_path + 'demo_shejipuhui.mp4']]
 
15
  os.makedirs(works_path)
16
  print('作品目录:' + works_path)
17
 
18
+ modelname = "small"
19
  model = whisper.load_model(modelname) #tiny、base、small、medium(可用)、large
20
 
21
  def transcript(audiofile, prompt, output_dir):
 
103
  "#overview {margin: auto;max-width: 400px; max-height: 400px;}"
104
 
105
  title = "音视频转录 by宁侠"
106
+ description = ""
107
 
108
  examples_path = 'examples/'
109
  examples = [[examples_path + 'demo_shejipuhui.mp4']]