Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ from typing import List, Dict
|
|
| 10 |
import os
|
| 11 |
import tempfile
|
| 12 |
import re
|
|
|
|
| 13 |
|
| 14 |
# Initialize embeddings
|
| 15 |
embeddings = HuggingFaceEmbeddings()
|
|
@@ -633,6 +634,7 @@ def clear_databases():
|
|
| 633 |
|
| 634 |
def create_interface():
|
| 635 |
with gr.Blocks(theme='freddyaboulton/test-blue') as app:
|
|
|
|
| 636 |
gr.Markdown("# AI Recruiter Assistant")
|
| 637 |
gr.Markdown("""**Purpose**
|
| 638 |
This prototype demonstrates how AI can support recruiting workflows — including candidate evaluation and outreach — while embedding safeguards for fairness, transparency, and verification.
|
|
|
|
| 10 |
import os
|
| 11 |
import tempfile
|
| 12 |
import re
|
| 13 |
+
from geo_logging import record_visit
|
| 14 |
|
| 15 |
# Initialize embeddings
|
| 16 |
embeddings = HuggingFaceEmbeddings()
|
|
|
|
| 634 |
|
| 635 |
def create_interface():
|
| 636 |
with gr.Blocks(theme='freddyaboulton/test-blue') as app:
|
| 637 |
+
app.load(fn=record_visit, inputs=None, outputs=None)
|
| 638 |
gr.Markdown("# AI Recruiter Assistant")
|
| 639 |
gr.Markdown("""**Purpose**
|
| 640 |
This prototype demonstrates how AI can support recruiting workflows — including candidate evaluation and outreach — while embedding safeguards for fairness, transparency, and verification.
|