jordigonzm commited on
Commit
c7614d7
1 Parent(s): dc984ff

trust_remote_code=True

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  def main():
5
  # Load the model using Hugging Face's transformers pipeline
6
- model = pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct")
7
 
8
  def generate_text(input_text):
9
  # Generate text using the model
 
3
 
4
  def main():
5
  # Load the model using Hugging Face's transformers pipeline
6
+ model = pipeline("text-generation", model="microsoft/Phi-3-mini-128k-instruct", trust_remote_code=True)
7
 
8
  def generate_text(input_text):
9
  # Generate text using the model