Spaces:
Sleeping
Sleeping
Download app.py from mkManishKumar/Emailspam2: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/mkManishKumar/Emailspam2/resolve/main/app.py
- Command line
-
hf download hf://spaces/mkManishKumar/Emailspam2/app.py
-
curl -L -o app.py https://huggingface.co/spaces/mkManishKumar/Emailspam2/resolve/main/app.py
277 Bytes
| import pickle | |
| import streamlit as st | |
| model=pickle.load(open("spam2.pkl","rb")) | |
| cv=pickle.load(open("vectorizer.pkl","rb")) | |
| def main(): | |
| st.title("Email Spam Detector Apps") | |
| st.header('Lorem Ipsum') | |
| st.write("Click on start") | |
| if __name__ == "__main__": | |
| main() | |