Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,9 +117,10 @@ JSONL_PATH = os.path.join(DATA_DIR, "submissions.jsonl")
|
|
| 117 |
def _init_csv() -> None:
|
| 118 |
if not os.path.exists(CSV_PATH):
|
| 119 |
with open(CSV_PATH, "w", newline="", encoding="utf-8") as f:
|
| 120 |
-
csv.writer(f)
|
| 121 |
-
|
| 122 |
-
"
|
|
|
|
| 123 |
])
|
| 124 |
_init_csv()
|
| 125 |
|
|
@@ -195,4 +196,3 @@ with gr.Blocks(title="AuraAI — CV Summarizer", css=".gradio-container{max-widt
|
|
| 195 |
|
| 196 |
if __name__ == "__main__":
|
| 197 |
demo.launch()
|
| 198 |
-
|
|
|
|
| 117 |
def _init_csv() -> None:
|
| 118 |
if not os.path.exists(CSV_PATH):
|
| 119 |
with open(CSV_PATH, "w", newline="", encoding="utf-8") as f:
|
| 120 |
+
w = csv.writer(f)
|
| 121 |
+
w.writerow([
|
| 122 |
+
"timestamp", "session_id", "filename", "job_title", "company",
|
| 123 |
+
"text_tokens", "text_hash", "top_keywords", "summary_chars"
|
| 124 |
])
|
| 125 |
_init_csv()
|
| 126 |
|
|
|
|
| 196 |
|
| 197 |
if __name__ == "__main__":
|
| 198 |
demo.launch()
|
|
|