Spaces:
Build error
Build error
Commit
·
750063f
1
Parent(s):
104e622
small updates
Browse files- MusicModel/music.py +3 -2
- app.py +1 -1
MusicModel/music.py
CHANGED
|
@@ -12,7 +12,8 @@ import streamlit as st
|
|
| 12 |
# Spits out audio file
|
| 13 |
|
| 14 |
def gen_audio():
|
|
|
|
| 15 |
for i in range(5):
|
| 16 |
-
|
| 17 |
|
| 18 |
-
|
|
|
|
| 12 |
# Spits out audio file
|
| 13 |
|
| 14 |
def gen_audio():
|
| 15 |
+
to_ret = ""
|
| 16 |
for i in range(5):
|
| 17 |
+
to_ret = to_ret + str(i)
|
| 18 |
|
| 19 |
+
return to_ret
|
app.py
CHANGED
|
@@ -13,4 +13,4 @@ st.write("Click the Button to Generate Audio")
|
|
| 13 |
# SENTENCE BASED
|
| 14 |
if st.button("GENERATE"):
|
| 15 |
st.write("Here is the Generated Audio:")
|
| 16 |
-
gen_audio()
|
|
|
|
| 13 |
# SENTENCE BASED
|
| 14 |
if st.button("GENERATE"):
|
| 15 |
st.write("Here is the Generated Audio:")
|
| 16 |
+
st.write(gen_audio())
|