()
| 48 | |
| 49 | |
| 50 | def initialize_app() -> burr.core.Application: |
| 51 | if "burr_app" not in st.session_state: |
| 52 | st.session_state.burr_app = chatbot_application.application( |
| 53 | app_id=f"chat_streaming:{str(uuid.uuid4())[0:6]}" |
| 54 | ) |
| 55 | return st.session_state.burr_app |
| 56 | |
| 57 | |
| 58 | async def main(): |