Asankhaya Sharma commited on
Commit
3ed339f
·
1 Parent(s): 548f731

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from streamlit_chat import message
5
 
6
  checkpoint = "."
7
 
8
- @st.cache_resource
9
  def get_model():
10
  model = AutoModelForCausalLM.from_pretrained(checkpoint)
11
  tokenizer = AutoTokenizer.from_pretrained(checkpoint)
 
5
 
6
  checkpoint = "."
7
 
8
+ @st.cache
9
  def get_model():
10
  model = AutoModelForCausalLM.from_pretrained(checkpoint)
11
  tokenizer = AutoTokenizer.from_pretrained(checkpoint)