Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -88,12 +88,12 @@ if st.button("Submit"):
|
|
88 |
scores = [r["ATS Score"]*100 for r in sorted_resumes]
|
89 |
|
90 |
# Apply a clean Matplotlib style
|
91 |
-
plt.style.use("seaborn-whitegrid")
|
92 |
plt.figure(figsize=(8, 5))
|
93 |
|
94 |
# Customize the plot
|
95 |
fig, ax = plt.subplots(figsize=(8, 5), facecolor='none') # Set facecolor to 'none' for transparency
|
96 |
-
ax.bar(names_with_ranks, scores, color="#4CAF50")
|
97 |
ax.set_title("ATS Scores by Resume (Ranked)", fontsize=14, color="#333")
|
98 |
ax.set_ylabel("ATS Score (%)", fontsize=12, color="#333")
|
99 |
ax.set_xticks(range(len(names_with_ranks)))
|
|
|
88 |
scores = [r["ATS Score"]*100 for r in sorted_resumes]
|
89 |
|
90 |
# Apply a clean Matplotlib style
|
91 |
+
plt.style.use("seaborn-whitegrid")
|
92 |
plt.figure(figsize=(8, 5))
|
93 |
|
94 |
# Customize the plot
|
95 |
fig, ax = plt.subplots(figsize=(8, 5), facecolor='none') # Set facecolor to 'none' for transparency
|
96 |
+
ax.bar(names_with_ranks, scores, color="#4CAF50")
|
97 |
ax.set_title("ATS Scores by Resume (Ranked)", fontsize=14, color="#333")
|
98 |
ax.set_ylabel("ATS Score (%)", fontsize=12, color="#333")
|
99 |
ax.set_xticks(range(len(names_with_ranks)))
|