Prompt summary print less than Terminal prompt output

Use LangChain and PromptTemplate to convert Audio to Summary

  1. Why does print(output) render less content than terminal result? The print(output) just contains a summary while the terminal displays the entirety of the syntax required by the prompts.
    How is the content of the terminal printed out in main programs?

  2. Can the user enter his own prompts using st.text_input? How do I accomplish that?

Thank you

https://audiotosummary.streamlit.app

Hi, @zinojeng I have checked your app, and it’s great but the problem is in your code, I have found many errors in the code. After uploading the audio file, instead of the result its showing errors. Please revisit your code and then try again thank you.

I have reboot and please try again, thanks!

@zinojeng OK, I checked, please check these lines again.