Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import torchaudio
|
|
7 |
import gradio as gr
|
8 |
import re
|
9 |
|
10 |
-
llasa_model_id = 'OmniAICreator/Galgame-Llasa-
|
11 |
|
12 |
tokenizer = AutoTokenizer.from_pretrained(llasa_model_id)
|
13 |
|
@@ -211,7 +211,7 @@ def infer(sample_audio_path, target_text, temperature, top_p, repetition_penalty
|
|
211 |
return (16000, gen_wav[0, 0, :].cpu().numpy())
|
212 |
|
213 |
with gr.Blocks() as app_tts:
|
214 |
-
gr.Markdown("# Galgame Llasa
|
215 |
ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
|
216 |
gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
|
217 |
|
@@ -248,9 +248,9 @@ with gr.Blocks() as app_credits:
|
|
248 |
with gr.Blocks() as app:
|
249 |
gr.Markdown(
|
250 |
"""
|
251 |
-
# Galgame Llasa
|
252 |
|
253 |
-
This is a local web UI for Galgame Llasa
|
254 |
|
255 |
The model is fine-tuned by Japanese audio data.
|
256 |
|
|
|
7 |
import gradio as gr
|
8 |
import re
|
9 |
|
10 |
+
llasa_model_id = 'OmniAICreator/Galgame-Llasa-8B'
|
11 |
|
12 |
tokenizer = AutoTokenizer.from_pretrained(llasa_model_id)
|
13 |
|
|
|
211 |
return (16000, gen_wav[0, 0, :].cpu().numpy())
|
212 |
|
213 |
with gr.Blocks() as app_tts:
|
214 |
+
gr.Markdown("# Galgame Llasa 8B")
|
215 |
ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
|
216 |
gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
|
217 |
|
|
|
248 |
with gr.Blocks() as app:
|
249 |
gr.Markdown(
|
250 |
"""
|
251 |
+
# Galgame Llasa 8B
|
252 |
|
253 |
+
This is a local web UI for Galgame Llasa 8B TTS model. You can check out the model [here](https://huggingface.co/OmniAICreator/Galgame-Llasa-8B).
|
254 |
|
255 |
The model is fine-tuned by Japanese audio data.
|
256 |
|