betterme commited on
Commit ·
ca6142c
1
Parent(s): d380ed4
update
Browse files9 unmodified lines101112131415163 unmodified lines202122232425269 unmodified linesfrom meutils.pipe import *from chatllm.applications import ChatBasefrom chatllm.utils import llm_load4chatimport streamlit as stfrom appzoo.streamlit_app.utils import display_pdf, reply4input3 unmodified lines@st.cache_resourcedef get_chat_func():chat_func = llm_load4chat()return chat_func9 unmodified lines101112131415163 unmodified lines202122232425269 unmodified linesfrom meutils.pipe import *from chatllm.applications import ChatBasefrom chatllm.utils import load_llm4chatimport streamlit as stfrom appzoo.streamlit_app.utils import display_pdf, reply4input3 unmodified lines@st.cache_resourcedef get_chat_func():chat_func = load_llm4chat("THUDM/chatglm-6b-int4")return chat_func
pages/chatbase.py+2-2