Shamik88 commited on
Commit
bc2a990
·
1 Parent(s): 6ed8d14

Removed download button

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +4 -5
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -391,7 +391,7 @@ with gr.Blocks() as app_credits:
391
  * [RootingInLoad](https://github.com/RootingInLoad) for the podcast generation
392
  * [jpgallegoar](https://github.com/jpgallegoar) for multiple speech-type generation
393
  """)
394
- with gr.Blocks() as app_tts:
395
  gr.Markdown("# Batched TTS")
396
  ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
397
  gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
@@ -430,8 +430,7 @@ with gr.Blocks() as app_tts:
430
 
431
  audio_output = gr.Audio(label="Synthesized Audio")
432
  spectrogram_output = gr.Image(label="Spectrogram")
433
- download_audio_output = gr.File(label="Download Recorded Audio")
434
-
435
  generate_btn.click(
436
  infer,
437
  inputs=[
@@ -442,7 +441,7 @@ with gr.Blocks() as app_tts:
442
  remove_silence,
443
  cross_fade_duration_slider,
444
  ],
445
- outputs=[audio_output, spectrogram_output,download_audio_output],
446
  )
447
 
448
  with gr.Blocks() as app_podcast:
@@ -767,7 +766,7 @@ If you're having issues, try converting your reference audio to WAV or MP3, clip
767
  **NOTE: Reference text will be automatically transcribed with Whisper if not provided. For best results, keep your reference clips short (<15s). Ensure the audio is fully uploaded before generating.**
768
  """
769
  )
770
- gr.TabbedInterface([app_tts, app_podcast, app_emotional, app_credits], ["TTS", "Podcast", "Multi-Style", "Credits"])
771
 
772
  @click.command()
773
  @click.option("--port", "-p", default=None, type=int, help="Port to run the app on")
 
391
  * [RootingInLoad](https://github.com/RootingInLoad) for the podcast generation
392
  * [jpgallegoar](https://github.com/jpgallegoar) for multiple speech-type generation
393
  """)
394
+ with gr.Blocks(theme='gstaff/sketch') as app_tts:
395
  gr.Markdown("# Batched TTS")
396
  ref_audio_input = gr.Audio(label="Reference Audio", type="filepath")
397
  gen_text_input = gr.Textbox(label="Text to Generate", lines=10)
 
430
 
431
  audio_output = gr.Audio(label="Synthesized Audio")
432
  spectrogram_output = gr.Image(label="Spectrogram")
433
+
 
434
  generate_btn.click(
435
  infer,
436
  inputs=[
 
441
  remove_silence,
442
  cross_fade_duration_slider,
443
  ],
444
+ outputs=[audio_output, spectrogram_output],
445
  )
446
 
447
  with gr.Blocks() as app_podcast:
 
766
  **NOTE: Reference text will be automatically transcribed with Whisper if not provided. For best results, keep your reference clips short (<15s). Ensure the audio is fully uploaded before generating.**
767
  """
768
  )
769
+ gr.TabbedInterface([app_tts, app_podcast, app_emotional], ["TTS", "Podcast", "Multi-Style"])
770
 
771
  @click.command()
772
  @click.option("--port", "-p", default=None, type=int, help="Port to run the app on")