tensorkelechi commited on
Commit
04fc2a2
·
verified ·
1 Parent(s): e327372

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -78,9 +78,9 @@ def load_pipeline():
78
  # model.load_state_dict(torch.load(model_file))
79
  model = load_model(model, model_file)
80
  # model = pipeline('image-classification', model=model_id, device='cpu')
81
- model.eval()
82
-
83
- return model.to('cpu')
84
 
85
  # Streamlit app UI template
86
  st.title("Signature Forgery Detection")
 
78
  # model.load_state_dict(torch.load(model_file))
79
  model = load_model(model, model_file)
80
  # model = pipeline('image-classification', model=model_id, device='cpu')
81
+ # model.eval()
82
+ print(model)
83
+ return model#.to('cpu')
84
 
85
  # Streamlit app UI template
86
  st.title("Signature Forgery Detection")