auraailabs commited on
Commit
0a4b822
·
verified ·
1 Parent(s): ab08453

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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)..writerow([
121
- "timestamp","session_id","filename","job_title","company",
122
- "text_tokens","text_hash","top_keywords","summary_chars"
 
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()