Spaces:
Build error
Build error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import pipeline
|
2 |
+
import streamlit as st
|
3 |
+
st.title("Resume Sorter")
|
4 |
+
st.write("Enter the skills from your resume and get suggested job titles.")
|
5 |
+
|
6 |
+
user_input = st.text_input("Enter your input text here")
|
7 |
+
|
8 |
+
clicked = st.button('Submit')
|
9 |
+
|
10 |
+
if clicked:
|
11 |
+
model = pipeline(task="text-classification", model="Kanakmi/resume_sorter")
|
12 |
+
st.write("Output:")
|
13 |
+
st.write(model(user_input))
|