Spaces:
Build error
Build error
fix cache
Browse files
app.py
CHANGED
@@ -14,7 +14,6 @@ def load_model(model_ckpt):
|
|
14 |
model = AutoModelForCausalLM.from_pretrained(model_ckpt, low_cpu_mem_usage=True)
|
15 |
return model
|
16 |
|
17 |
-
@st.cache()
|
18 |
def load_examples():
|
19 |
with open("examples.json", "r") as f:
|
20 |
examples = json.load(f)
|
|
|
14 |
model = AutoModelForCausalLM.from_pretrained(model_ckpt, low_cpu_mem_usage=True)
|
15 |
return model
|
16 |
|
|
|
17 |
def load_examples():
|
18 |
with open("examples.json", "r") as f:
|
19 |
examples = json.load(f)
|