Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def generate_seed():
|
|
20 |
"value": new_seed
|
21 |
}
|
22 |
|
23 |
-
@
|
24 |
def generate_audio(text, temperature, top_P, top_K, audio_seed_input, text_seed_input, refine_text_flag):
|
25 |
|
26 |
torch.manual_seed(audio_seed_input)
|
|
|
20 |
"value": new_seed
|
21 |
}
|
22 |
|
23 |
+
@spaces.GPU
|
24 |
def generate_audio(text, temperature, top_P, top_K, audio_seed_input, text_seed_input, refine_text_flag):
|
25 |
|
26 |
torch.manual_seed(audio_seed_input)
|