Spaces:
markmagic
/
Running on Zero

Dzkaka commited on
Commit
b5f41ba
1 Parent(s): 1e7d7cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- + import spaces
2
  import os
3
  import random
4
  import argparse
@@ -20,7 +20,7 @@ def generate_seed():
20
  "value": new_seed
21
  }
22
 
23
- +@space.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)
 
1
+ import spaces
2
  import os
3
  import random
4
  import argparse
 
20
  "value": new_seed
21
  }
22
 
23
+ @space.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)