mrfakename commited on
Commit
cff403b
·
verified ·
1 Parent(s): 60a69c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ from f5_tts.api import F5TTS
5
  from huggingface_hub import hf_hub_download
6
  import os
7
 
8
- VARIANTS = ["model_1000000", "model_300000", "model_100000"]
9
  models = {}
10
  for variant in VARIANTS:
11
  models[variant] = F5TTS(
@@ -28,7 +28,7 @@ def generate(text, ref_audio, variant, progress = gr.Progress()):
28
  return f.name
29
 
30
  with gr.Blocks() as demo:
31
- gr.Markdown("# OpenF5 TTS Demo\n\nTry out various checkpoints of the OpenF5-TTS model. The model is currently still being trained.\n\nThe goal is to create a permissively-licensed F5-TTS model checkpoint trained on commercially-viable data that can be used as a base for further fine-tuning.")
32
  textbox = gr.Textbox(label="Text")
33
  audio = gr.Audio(label="Reference Audio", type="filepath")
34
  variant = gr.Radio(choices=VARIANTS, value=VARIANTS[0], label="Variant")
 
5
  from huggingface_hub import hf_hub_download
6
  import os
7
 
8
+ VARIANTS = ["model_1000000"]
9
  models = {}
10
  for variant in VARIANTS:
11
  models[variant] = F5TTS(
 
28
  return f.name
29
 
30
  with gr.Blocks() as demo:
31
+ gr.Markdown("# Demo for OpenF5 TTS\n\nTry out [OpenF5-TTS](https://huggingface.co/mrfakename/OpenF5-TTS)")
32
  textbox = gr.Textbox(label="Text")
33
  audio = gr.Audio(label="Reference Audio", type="filepath")
34
  variant = gr.Radio(choices=VARIANTS, value=VARIANTS[0], label="Variant")