GitHub - Chandrima1/Credit-Card-Fraud-Detection-Model

This is the github link of my repository. when I am trying to deploy it using streamlit share it is showing error that error installing requirements. Please help.

Hi @Chandrima1

Thanks for your question. I’ve trimmed down the requirements.txt file to only those that are used in the app.

From the import statements, you’re using the following:

import pickle
import pandas
import numpy as np
import sklearn
import imblearn
import streamlit as st
from PIL import Image

Thus, I’ve trimmed the requirements.txt down to the following:

pickleshare==0.7.5
pandas==2.0.1
numpy==1.24.3
scikit-learn==1.2.2
imbalanced-learn==0.10.1
streamlit==1.22.0
Pillow==9.5.0

I’ve forked the repo and deployed it here and the screenshot of the app is shown below:

Hope this helps!

Best regards,
Chanin

@dataprofessor Thank you so much for the help. it worked. :smile:

1 Like

@Chandrima1 Glad to hear that it worked!

Best regards,
Chanin

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.