mrfakename commited on
Commit
c923ed8
1 Parent(s): c355b3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -203,6 +203,21 @@ If you're having issues, try converting your reference audio to WAV or MP3, clip
203
  spectrogram_output = gr.Image(label="Spectrogram")
204
 
205
  generate_btn.click(infer, inputs=[ref_audio_input, ref_text_input, gen_text_input, model_choice, remove_silence], outputs=[audio_output, spectrogram_output])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  gr.Markdown("Unofficial demo by [mrfakename](https://x.com/realmrfakename)")
207
 
208
 
 
203
  spectrogram_output = gr.Image(label="Spectrogram")
204
 
205
  generate_btn.click(infer, inputs=[ref_audio_input, ref_text_input, gen_text_input, model_choice, remove_silence], outputs=[audio_output, spectrogram_output])
206
+ gr.Markdown("""
207
+ ## Run Locally
208
+
209
+ Run this demo locally on CPU, CUDA, or MPS (Apple Silicon):
210
+
211
+ First, ensure `ffmpeg` is installed.
212
+
213
+ ```bash
214
+ git clone https://huggingface.co/spaces/mrfakename/E2-F5-TTS
215
+ cd E2-F5-TTS
216
+ python -m pip install -r requirements.txt
217
+ python app_local.py
218
+ ```
219
+
220
+ """)
221
  gr.Markdown("Unofficial demo by [mrfakename](https://x.com/realmrfakename)")
222
 
223