gagannarula commited on
Commit
71ceb2a
·
verified ·
1 Parent(s): 0027133

data studio got confused by original_file_name

Browse files
Files changed (1) hide show
  1. data_store.py +1 -1
data_store.py CHANGED
@@ -32,7 +32,7 @@ def upload_data(audio: str | Path, user_text: str, model_response: str):
32
  "user_message": user_text,
33
  "model_response": model_response,
34
  "file_name": "audio/" + data_id + suffix, # has to be relative to metadata.jsonl
35
- "original_file_name": os.path.basename(audio),
36
  "id": data_id,
37
  }
38
 
 
32
  "user_message": user_text,
33
  "model_response": model_response,
34
  "file_name": "audio/" + data_id + suffix, # has to be relative to metadata.jsonl
35
+ "original_fn": os.path.basename(audio),
36
  "id": data_id,
37
  }
38