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