Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,9 +49,9 @@ def main():
|
|
| 49 |
st.set_page_config(page_title="Image Storyteller")
|
| 50 |
|
| 51 |
st.header("Image to Audio")
|
| 52 |
-
length = st.number_input("Length
|
| 53 |
-
if length
|
| 54 |
-
length =
|
| 55 |
uploaded_file = st.file_uploader("Choose an Image", type="jpg")
|
| 56 |
|
| 57 |
|
|
|
|
| 49 |
st.set_page_config(page_title="Image Storyteller")
|
| 50 |
|
| 51 |
st.header("Image to Audio")
|
| 52 |
+
length = st.number_input("Length")
|
| 53 |
+
if not length or length == 0.0:
|
| 54 |
+
length = 10
|
| 55 |
uploaded_file = st.file_uploader("Choose an Image", type="jpg")
|
| 56 |
|
| 57 |
|