Update web_demo-aiwei.py
This commit is contained in:
parent
ccfa75c493
commit
5485b4c124
@ -210,6 +210,8 @@ def combine_history(prompt):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
st.markdown("我在这里,准备好倾听你的心声了。", unsafe_allow_html=True)
|
||||||
|
|
||||||
# torch.cuda.empty_cache()
|
# torch.cuda.empty_cache()
|
||||||
print("load model begin.")
|
print("load model begin.")
|
||||||
model, tokenizer = load_model()
|
model, tokenizer = load_model()
|
||||||
|
Loading…
Reference in New Issue
Block a user