Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
from
|
2 |
import gradio as gr
|
3 |
|
4 |
|
5 |
-
model =
|
6 |
|
7 |
def generate(text, audio_prompt_path, exaggeration, pace, temperature):
|
8 |
wav = model.generate(
|
|
|
1 |
+
from chatterbox.src.chatterbox.tts import ChatterboxTTS
|
2 |
import gradio as gr
|
3 |
|
4 |
|
5 |
+
model = ChatterboxTTS.from_pretrained("cuda")
|
6 |
|
7 |
def generate(text, audio_prompt_path, exaggeration, pace, temperature):
|
8 |
wav = model.generate(
|