Spaces:
Build error
Build error
Update resume_score_gemini.py
Browse files- resume_score_gemini.py +1 -1
resume_score_gemini.py
CHANGED
|
@@ -96,7 +96,7 @@ And the job description below:
|
|
| 96 |
if line.lower().startswith("score:"):
|
| 97 |
try:
|
| 98 |
score = float(line.split(":", 1)[1].strip()) # Scale to 0–100
|
| 99 |
-
score = f"{score * 100:.2f}%"
|
| 100 |
except ValueError:
|
| 101 |
raise ValueError(f"Invalid score format: {line}")
|
| 102 |
elif line.lower().startswith("reason:"):
|
|
|
|
| 96 |
if line.lower().startswith("score:"):
|
| 97 |
try:
|
| 98 |
score = float(line.split(":", 1)[1].strip()) # Scale to 0–100
|
| 99 |
+
# score = f"{score * 100:.2f}%"
|
| 100 |
except ValueError:
|
| 101 |
raise ValueError(f"Invalid score format: {line}")
|
| 102 |
elif line.lower().startswith("reason:"):
|