Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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=
|
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 |
|