Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import numpy as np
|
|
9 |
st.set_page_config(page_title="Text to Speech", layout="centered")
|
10 |
|
11 |
# Streamlit sidebar elements
|
12 |
-
st.sidebar.title("
|
13 |
PAT = st.sidebar.text_input("Enter your Personal Access Token:", type="password")
|
14 |
|
15 |
# Authentication details (hide or secure this in production!)
|
@@ -36,7 +36,7 @@ def pad_buffer(audio):
|
|
36 |
return audio
|
37 |
|
38 |
# Streamlit UI
|
39 |
-
st.title("Text to
|
40 |
input_text = st.text_area("Enter text to convert to speech:", "I love your product very much")
|
41 |
|
42 |
# Disable the button until PAT is entered
|
|
|
9 |
st.set_page_config(page_title="Text to Speech", layout="centered")
|
10 |
|
11 |
# Streamlit sidebar elements
|
12 |
+
st.sidebar.title("Text to Audio")
|
13 |
PAT = st.sidebar.text_input("Enter your Personal Access Token:", type="password")
|
14 |
|
15 |
# Authentication details (hide or secure this in production!)
|
|
|
36 |
return audio
|
37 |
|
38 |
# Streamlit UI
|
39 |
+
st.title("Text to Audio Conversion")
|
40 |
input_text = st.text_area("Enter text to convert to speech:", "I love your product very much")
|
41 |
|
42 |
# Disable the button until PAT is entered
|