from streamlit.runtime.scriptrunner import get_script_run_ctx from pages.page_base import chat_interface chat_title = "RAG Chat App" url = "https://hugsid-backend.hf.space/rag" page_hash = get_script_run_ctx().page_script_hash chat_interface(chat_title, page_hash, url)