acecalisto3 commited on
Commit
14bdc5a
1 Parent(s): 1518bc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def chat_interface_with_agent(input_text, agent_name):
82
 
83
  model_name = "Bin12345/AutoCoder_S_6.7B"
84
  try:
85
- pipe = pipeline("text-generation", model="Bin12345/AutoCoder_S_6.7B")
86
  tokenizer = AutoTokenizer.from_pretrained(model_name)
87
  generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
88
  except EnvironmentError as e:
 
82
 
83
  model_name = "Bin12345/AutoCoder_S_6.7B"
84
  try:
85
+ pipe = pipeline("text-generation", model="Bin12345/AutoCoder_S_6.7B")
86
  tokenizer = AutoTokenizer.from_pretrained(model_name)
87
  generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
88
  except EnvironmentError as e: