Spaces:
Runtime error
Runtime error
Update app/templates/docs.html
Browse files- app/templates/docs.html +17 -11
app/templates/docs.html
CHANGED
|
@@ -78,18 +78,24 @@ print(response.json())</code></pre>
|
|
| 78 |
</form>
|
| 79 |
|
| 80 |
{% if response %}
|
| 81 |
-
<h3>Ranking Results</h3>
|
| 82 |
<p><strong>Job Description:</strong> {{ response.job_description }}</p>
|
| 83 |
-
<
|
| 84 |
-
|
| 85 |
-
<
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
<
|
| 91 |
-
|
| 92 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
{% endif %}
|
| 94 |
|
| 95 |
<p class="mt-4"><a href="{{ url_for('auth.dashboard') }}" class="btn btn-secondary">← Back to Dashboard</a></p>
|
|
|
|
| 78 |
</form>
|
| 79 |
|
| 80 |
{% if response %}
|
| 81 |
+
<h3>🔍 Resume Ranking Results</h3>
|
| 82 |
<p><strong>Job Description:</strong> {{ response.job_description }}</p>
|
| 83 |
+
<table class="table table-bordered">
|
| 84 |
+
<thead>
|
| 85 |
+
<tr>
|
| 86 |
+
<th>Filename</th>
|
| 87 |
+
<th>Score</th>
|
| 88 |
+
</tr>
|
| 89 |
+
</thead>
|
| 90 |
+
<tbody>
|
| 91 |
+
{% for r in response.ranked_resumes %}
|
| 92 |
+
<tr>
|
| 93 |
+
<td>{{ r.filename }}</td>
|
| 94 |
+
<td>{{ r.score }}</td>
|
| 95 |
+
</tr>
|
| 96 |
+
{% endfor %}
|
| 97 |
+
</tbody>
|
| 98 |
+
</table>
|
| 99 |
{% endif %}
|
| 100 |
|
| 101 |
<p class="mt-4"><a href="{{ url_for('auth.dashboard') }}" class="btn btn-secondary">← Back to Dashboard</a></p>
|