nekoniii3 commited on
Commit
5e26d60
1 Parent(s): c74ccb3

create new

Browse files
Files changed (2) hide show
  1. app.py +6 -4
  2. sample_data/ano.mp3 +0 -0
app.py CHANGED
@@ -6,7 +6,7 @@ import inference
6
  import spaces
7
 
8
  example1 = ["sample_data/ref1.jpg", "sample_data/ano.mp3"]
9
- example2 = ["sample_data/ref2.jpg", "sample_data/rakugo.mp3"]
10
 
11
  @spaces.GPU(duration=120)
12
  def fix_face_video(input_image, input_audio):
@@ -27,8 +27,9 @@ out_video = gr.Video(label="Fix Face Video")
27
  btn = gr.Button("送信", variant="primary")
28
 
29
  title = "V_Express"
30
- description = "<div style='text-align: center;'><h3>画像と音声だけで生成できます。(Using only images and audio)"
31
- description += "<br>This uses the following V-Express \"https://github.com/tencent-ailab/V-Express\"</h3></div>"
 
32
 
33
  demo = gr.Interface(
34
  fn=fix_face_video,
@@ -39,7 +40,8 @@ demo = gr.Interface(
39
  submit_btn=btn,
40
  clear_btn=None,
41
  description=description,
42
- allow_flagging="never"
 
43
  )
44
 
45
  demo.queue()
 
6
  import spaces
7
 
8
  example1 = ["sample_data/ref1.jpg", "sample_data/ano.mp3"]
9
+ example2 = ["sample_data/ref2.jpg", "sample_data/ano.mp3"]
10
 
11
  @spaces.GPU(duration=120)
12
  def fix_face_video(input_image, input_audio):
 
27
  btn = gr.Button("送信", variant="primary")
28
 
29
  title = "V_Express"
30
+ description = "<div style='text-align: center;'><h3>画像と音声だけで生成できます。(Using only images and audio.)"
31
+ description += "<br>This uses the following V-Express \"https://github.com/tencent-ailab/V-Express\""
32
+ description += "<br><br>※GPU ZERO制限のため短い音声しか生成できません。(Can only generate short sounds.)</h3></div>"
33
 
34
  demo = gr.Interface(
35
  fn=fix_face_video,
 
40
  submit_btn=btn,
41
  clear_btn=None,
42
  description=description,
43
+ allow_flagging="never",
44
+ cache_examples=False
45
  )
46
 
47
  demo.queue()
sample_data/ano.mp3 CHANGED
Binary files a/sample_data/ano.mp3 and b/sample_data/ano.mp3 differ