tensorkelechi commited on
Commit
2873e20
·
verified ·
1 Parent(s): 6010aaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def load_pipeline():
89
  # model = pipeline('image-classification', model=model_id, device='cpu')
90
  # model.eval()
91
  print(model)
92
- return model#.to('cpu')
93
 
94
  # Streamlit app UI template
95
  st.title("Signature Forgery Detection")
 
89
  # model = pipeline('image-classification', model=model_id, device='cpu')
90
  # model.eval()
91
  print(model)
92
+ return model[0] #.to('cpu')
93
 
94
  # Streamlit app UI template
95
  st.title("Signature Forgery Detection")