fixed the arguments in the `csv_to_textgrid` funtion, included `tier_name`

#4
by ylmmhf - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def validate_row(row):
69
  return False, f"Value error: {e}"
70
 
71
  # ==== Gradio Interface Function ====
72
- def csv_to_textgrid(file):
73
  try:
74
  # Create temporary directory
75
  temp_dir = tempfile.mkdtemp()
 
69
  return False, f"Value error: {e}"
70
 
71
  # ==== Gradio Interface Function ====
72
+ def csv_to_textgrid(file, tier_name="generated_tier"):
73
  try:
74
  # Create temporary directory
75
  temp_dir = tempfile.mkdtemp()