Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -437,12 +437,12 @@ with gr.Blocks() as demo:
|
|
| 437 |
"<h1 style='text-align: center;'>Pocket-TTS</h1>"
|
| 438 |
)
|
| 439 |
device_info = gr.Markdown(
|
| 440 |
-
"<p style='text-align: center;'>Powered by kyutai/pocket-tts | Running on CPU</p>"
|
| 441 |
)
|
| 442 |
|
| 443 |
def update_device_info():
|
| 444 |
device = "CUDA" if torch.cuda.is_available() else "CPU"
|
| 445 |
-
return f"<p style='text-align: center;'>Powered by kyutai/pocket-tts | Running on {device}</p>"
|
| 446 |
|
| 447 |
demo.load(update_device_info, outputs=device_info)
|
| 448 |
|
|
|
|
| 437 |
"<h1 style='text-align: center;'>Pocket-TTS</h1>"
|
| 438 |
)
|
| 439 |
device_info = gr.Markdown(
|
| 440 |
+
"<p style='text-align: center;'>Powered by kyutai/pocket-tts | Running on CPU | Voices cloned from Kokoro-82M</p>"
|
| 441 |
)
|
| 442 |
|
| 443 |
def update_device_info():
|
| 444 |
device = "CUDA" if torch.cuda.is_available() else "CPU"
|
| 445 |
+
return f"<p style='text-align: center;'>Powered by kyutai/pocket-tts | Running on {device} | Voices cloned from Kokoro-82M</p>"
|
| 446 |
|
| 447 |
demo.load(update_device_info, outputs=device_info)
|
| 448 |
|