antfraia commited on
Commit
9a0de0e
·
1 Parent(s): 00bbc0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -1,8 +1,6 @@
1
- import random
2
  import gradio as gr
3
  import numpy as np
4
  from elevenlabs import voices, generate, set_api_key, UnauthenticatedRateLimitError
5
- import streamlit as st
6
 
7
  def pad_buffer(audio):
8
  buffer_size = len(audio)
@@ -73,7 +71,4 @@ iface = gr.Interface(
73
  height=480
74
  )
75
 
76
- # Using Streamlit to display the Gradio app within Hugging Face Spaces
77
- st.title("TTS App with ElevenLabs")
78
- st.text("Enter your text and choose a voice to generate the speech!")
79
- gr.Interface._display(iface)
 
 
1
  import gradio as gr
2
  import numpy as np
3
  from elevenlabs import voices, generate, set_api_key, UnauthenticatedRateLimitError
 
4
 
5
  def pad_buffer(audio):
6
  buffer_size = len(audio)
 
71
  height=480
72
  )
73
 
74
+ iface.launch()