AshBlanc commited on
Commit
b2bcb97
·
verified ·
1 Parent(s): 430bd31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
6
  model_name = "internlm/internlm2-math-plus-7b"
7
  token = os.environ.get("HF_TOKEN")
8
 
9
- generator = pipeline('text-generation', model=model_name, token=token)
10
 
11
  # Streamlit app
12
  st.title("Lean 4 Code Generation with TheoremLlama")
 
6
  model_name = "internlm/internlm2-math-plus-7b"
7
  token = os.environ.get("HF_TOKEN")
8
 
9
+ generator = pipeline('text-generation', model=model_name, token=token, trust_remote_code=True)
10
 
11
  # Streamlit app
12
  st.title("Lean 4 Code Generation with TheoremLlama")