xiaozhongji commited on
Commit
fff431e
·
1 Parent(s): 21debb3
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ def get_md5(content):
22
  md5 = md5hash.hexdigest()
23
  return md5
24
 
25
- @spaces.GPU
26
  def get_video_res(img_path, audio_path, res_video_path, dynamic_scale=1.0):
27
 
28
  expand_ratio = 0.5
@@ -97,7 +97,7 @@ html_description = """
97
 
98
  The demo can only be used for <b>Non-commercial Use</b>.
99
  <br>If you like our work, please star <a href='https://jixiaozhong.github.io/Sonic/' style="margin: 0 2px;">Sonic</a>.
100
- <br>Note: Audio longer than 10s will be truncated due to computing resources.
101
  """
102
  TAIL = """
103
  <div style="display: flex; justify-content: center; align-items: center;">
 
22
  md5 = md5hash.hexdigest()
23
  return md5
24
 
25
+ @spaces.GPU(duration=120)
26
  def get_video_res(img_path, audio_path, res_video_path, dynamic_scale=1.0):
27
 
28
  expand_ratio = 0.5
 
97
 
98
  The demo can only be used for <b>Non-commercial Use</b>.
99
  <br>If you like our work, please star <a href='https://jixiaozhong.github.io/Sonic/' style="margin: 0 2px;">Sonic</a>.
100
+ <br>Note: Audio longer than 4s will be truncated due to computing resources.
101
  """
102
  TAIL = """
103
  <div style="display: flex; justify-content: center; align-items: center;">