Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,10 @@ if uploaded_files:
|
|
40 |
entity_dict[label] = [entity["text"] for entity in entities if entity["label"] == label]
|
41 |
|
42 |
data = {"Text": text_data, **entity_dict}
|
|
|
|
|
|
|
|
|
43 |
all_data.append(data)
|
44 |
|
45 |
except Exception as e:
|
@@ -49,6 +53,12 @@ if uploaded_files:
|
|
49 |
df = pd.DataFrame(all_data)
|
50 |
st.dataframe(df)
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
|
54 |
|
|
|
40 |
entity_dict[label] = [entity["text"] for entity in entities if entity["label"] == label]
|
41 |
|
42 |
data = {"Text": text_data, **entity_dict}
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
all_data.append(data)
|
48 |
|
49 |
except Exception as e:
|
|
|
53 |
df = pd.DataFrame(all_data)
|
54 |
st.dataframe(df)
|
55 |
|
56 |
+
txt = st.text_area("Job description")
|
57 |
+
data1 = pd.Series(txt, index = ["Job Description"])
|
58 |
+
|
59 |
+
result = pd.concat([df, data1], axis=1, ignore_index=True)
|
60 |
+
st.dataframe(result)
|
61 |
+
|
62 |
|
63 |
|
64 |
|