jesusvilela commited on
Commit
c2bd523
·
verified ·
1 Parent(s): defb1bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ if device.type == "cpu":
21
  @spaces.GPU
22
  def load_model():
23
  try:
24
- model = GPT4All(model_name_or_path, backend="cpu")
25
  logging.info("Model loaded successfully.")
26
  return model
27
  except Exception as e:
 
21
  @spaces.GPU
22
  def load_model():
23
  try:
24
+ model = GPT4All(model_name_or_path)
25
  logging.info("Model loaded successfully.")
26
  return model
27
  except Exception as e: