You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a succesful completion and having downloaded the result, clicking again on Generate Podcast crashes the app.
This seems to have been introduced in #42
Reproduction
Run the app successfully once
Make some modification (i.e. update the prompt)
Run Generate Podcast Script again.
Relevant log output
`Traceback (most recent call last): File "/usr/local/python/3.10.16/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func() File "/usr/local/python/3.10.16/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.__dict__) File "/workspaces/document-to-podcast/demo/app.py", line 154, in<module> st.session_state.audio.append(speech)AttributeError: 'numpy.ndarray' object has no attribute 'append'
Expected behavior
I would expect to generate a new podcast script
System Info
default codespaces
Have you searched for similar issues before submitting this one?
Yes, I have searched for similar issues
The text was updated successfully, but these errors were encountered:
Description
After a succesful completion and having downloaded the result, clicking again on Generate Podcast crashes the app.
This seems to have been introduced in #42
Reproduction
Generate Podcast Script
again.Relevant log output
Expected behavior
I would expect to generate a new podcast script
System Info
Have you searched for similar issues before submitting this one?
The text was updated successfully, but these errors were encountered: