Update app.py
Browse files4 unmodified lines567891011124 unmodified linesfrom transformers import AutoTokenizer, AutoModelForSequenceClassificationst.title(':blue[_SnapCode_]')with st.spinner('Model is loading'):tokenizer = AutoTokenizer.from_pretrained("vishnun/codenlbert-sm")model = AutoModelForSequenceClassification.from_pretrained("vishnun/codenlbert-sm")4 unmodified lines56789101112134 unmodified linesfrom transformers import AutoTokenizer, AutoModelForSequenceClassificationst.title(':blue[_SnapCode_]')st.markdown("_Extract code blocks out of Screenshots and Images_")with st.spinner('Code vs Natuaral language - Classification model is loading'):tokenizer = AutoTokenizer.from_pretrained("vishnun/codenlbert-sm")model = AutoModelForSequenceClassification.from_pretrained("vishnun/codenlbert-sm")
app.py+2-1