SebastianBodza commited on
Commit
63ba024
·
verified ·
1 Parent(s): 41145f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,7 +135,7 @@ def extract_speech_ids(speech_tokens_str):
135
  return speech_ids
136
 
137
  @torch.inference_mode()
138
- @spaces.GPU(duration=15)
139
  def infer_with_speaker(
140
  display_name,
141
  target_text,
@@ -163,7 +163,7 @@ def infer_with_speaker(
163
  )
164
 
165
  @torch.inference_mode()
166
- @spaces.GPU(duration=15)
167
  def gradio_infer(*args, **kwargs):
168
  return infer(*args, **kwargs)
169
 
 
135
  return speech_ids
136
 
137
  @torch.inference_mode()
138
+ @spaces.GPU(duration=30)
139
  def infer_with_speaker(
140
  display_name,
141
  target_text,
 
163
  )
164
 
165
  @torch.inference_mode()
166
+ @spaces.GPU(duration=30)
167
  def gradio_infer(*args, **kwargs):
168
  return infer(*args, **kwargs)
169