OmniAICreator commited on
Commit
94dc88a
·
verified ·
1 Parent(s): b79fcef

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/Llasa-1B-run1'
11
 
12
  tokenizer = AutoTokenizer.from_pretrained(llasa_model_id)
13
 
@@ -216,7 +216,7 @@ def infer(sample_audio_path, target_text, temperature, top_p, repetition_penalty
216
  return (16000, gen_wav[0, 0, :].cpu().numpy())
217
 
218
  with gr.Blocks() as app_tts:
219
- gr.Markdown("# Galgame Llasa 3B")
220
  ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
221
  gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
222
 
@@ -253,9 +253,9 @@ with gr.Blocks() as app_credits:
253
  with gr.Blocks() as app:
254
  gr.Markdown(
255
  """
256
- # Galgame Llasa 3B
257
 
258
- This is a local web UI for Galgame Llasa 3B TTS model. You can check out the model [here](https://huggingface.co/OmniAICreator/Galgame-Llasa-3B).
259
 
260
  The model is fine-tuned by Japanese audio data.
261
 
 
7
  import gradio as gr
8
  import re
9
 
10
+ llasa_model_id = 'OmniAICreator/Galgame-Llasa-1B-v2'
11
 
12
  tokenizer = AutoTokenizer.from_pretrained(llasa_model_id)
13
 
 
216
  return (16000, gen_wav[0, 0, :].cpu().numpy())
217
 
218
  with gr.Blocks() as app_tts:
219
+ gr.Markdown("# Galgame Llasa 1B v2")
220
  ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
221
  gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
222
 
 
253
  with gr.Blocks() as app:
254
  gr.Markdown(
255
  """
256
+ # Galgame Llasa 1B v2
257
 
258
+ This is a local web UI for Galgame Llasa 1B v2 TTS model. You can check out the model [here](https://huggingface.co/OmniAICreator/Galgame-Llasa-1B-v2).
259
 
260
  The model is fine-tuned by Japanese audio data.
261