shawno commited on
Commit
ca917c0
·
verified ·
1 Parent(s): 1378d04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -16,7 +16,6 @@ nf4_config = BitsAndBytesConfig(
16
  MODEL_NAME = "mistralai/Mistral-7B-Instruct-v0.2"
17
 
18
  # Cache the model loading for speed on subsequent runs in Gradio
19
- @gr.cache.clear
20
  def load_model():
21
  print(f"Loading model {MODEL_NAME}...")
22
  tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
 
16
  MODEL_NAME = "mistralai/Mistral-7B-Instruct-v0.2"
17
 
18
  # Cache the model loading for speed on subsequent runs in Gradio
 
19
  def load_model():
20
  print(f"Loading model {MODEL_NAME}...")
21
  tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)