Spaces:
Running
on
Zero
Running
on
Zero
littlebird13
commited on
Commit
•
06a0460
1
Parent(s):
ab62ea1
Update css/advanced.py
Browse files- css/advanced.py +2 -0
css/advanced.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import random
|
2 |
|
3 |
import gradio as gr
|
@@ -12,6 +13,7 @@ def advanced():
|
|
12 |
def random_seed():
|
13 |
return random.randint(1, 100000000)
|
14 |
|
|
|
15 |
def generate_audio(_sound_radio, _speech_status_textbox,
|
16 |
_synthetic_input_textbox, _seed):
|
17 |
print(_sound_radio, _speech_status_textbox, _synthetic_input_textbox, _seed)
|
|
|
1 |
+
import spaces
|
2 |
import random
|
3 |
|
4 |
import gradio as gr
|
|
|
13 |
def random_seed():
|
14 |
return random.randint(1, 100000000)
|
15 |
|
16 |
+
@spaces.GPU
|
17 |
def generate_audio(_sound_radio, _speech_status_textbox,
|
18 |
_synthetic_input_textbox, _seed):
|
19 |
print(_sound_radio, _speech_status_textbox, _synthetic_input_textbox, _seed)
|