Steveeeeeeen HF Staff commited on
Commit
6daeb9a
·
verified ·
1 Parent(s): ef7491a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -128,10 +128,10 @@ def _launch_demo(args):
128
  text = gr.Textbox(placeholder="Enter message ...")
129
 
130
  # Serializable configuration inputs (STRINGS ONLY)
131
- # model_path = gr.Textbox(value="Step-Audio-2-mini", label="Model path")
132
- # token2wav_dir = gr.Textbox(value="token2wav", label="Token2Wav directory")
133
- prompt_wav = gr.Textbox(value="assets/default_female.wav", label="Prompt WAV path")
134
- # cache_dir = gr.Textbox(value="/tmp/stepaudio2", label="Cache directory")
135
 
136
  with gr.Row():
137
  clean_btn = gr.Button("🧹 Clear History (清除历史)")
 
128
  text = gr.Textbox(placeholder="Enter message ...")
129
 
130
  # Serializable configuration inputs (STRINGS ONLY)
131
+ model_path = "Step-Audio-2-mini"
132
+ token2wav_dir = "token2wav"
133
+ prompt_wav = "assets/default_female.wav"
134
+ cache_dir = "/tmp/stepaudio2"
135
 
136
  with gr.Row():
137
  clean_btn = gr.Button("🧹 Clear History (清除历史)")