Spaces:
Running
Running
Fixing infinite looping in streamlit
Browse files
app.py
CHANGED
@@ -74,7 +74,6 @@ def main():
|
|
74 |
|
75 |
st.session_state["text_input_key"] = str(randint(1000, 100000000))
|
76 |
st.session_state["file_uploader_key"] = str(randint(1000, 100000000))
|
77 |
-
st.experimental_rerun()
|
78 |
|
79 |
text = st.text_area(
|
80 |
"Text",
|
@@ -87,8 +86,7 @@ def main():
|
|
87 |
voice = st.selectbox(
|
88 |
"Voice",
|
89 |
voices,
|
90 |
-
help="Selects the voice to use for generation. See options in voices/ directory (and add your own!) "
|
91 |
-
"Use the & character to join two voices together. Use a comma to perform inference on multiple voices.",
|
92 |
index=0,
|
93 |
)
|
94 |
preset = st.selectbox(
|
|
|
74 |
|
75 |
st.session_state["text_input_key"] = str(randint(1000, 100000000))
|
76 |
st.session_state["file_uploader_key"] = str(randint(1000, 100000000))
|
|
|
77 |
|
78 |
text = st.text_area(
|
79 |
"Text",
|
|
|
86 |
voice = st.selectbox(
|
87 |
"Voice",
|
88 |
voices,
|
89 |
+
help="Selects the voice to use for generation. See options in voices/ directory (and add your own!) ",
|
|
|
90 |
index=0,
|
91 |
)
|
92 |
preset = st.selectbox(
|