Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
import ai_gradio
|
|
|
3 |
|
4 |
|
5 |
-
gr.load(
|
6 |
name='kokoro:kokoro-v0_19',
|
7 |
src=ai_gradio.registry,
|
8 |
-
)
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import ai_gradio
|
3 |
+
import spaces
|
4 |
|
5 |
|
6 |
+
demo = gr.load(
|
7 |
name='kokoro:kokoro-v0_19',
|
8 |
src=ai_gradio.registry,
|
9 |
+
)
|
10 |
+
|
11 |
+
demo.fn = spaces.GPU()(demo.fn)
|
12 |
+
|
13 |
+
demo.launch()
|