OmniAICreator commited on
Commit
31c14da
·
verified ·
1 Parent(s): 763dcd9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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-3B-v3'
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 3B v3")
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 3B v3
252
 
253
- This is a local web UI for Galgame Llasa 3B v3 TTS model. You can check out the model [here](https://huggingface.co/OmniAICreator/Galgame-Llasa-3B-v3).
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