Straive-Kripa commited on
Commit
528a36c
·
verified ·
1 Parent(s): 8ce41f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ def scrub_file(filepath, progress=gr.Progress()):
21
 
22
  # Overwrite the original file with pii replaced lines
23
  with open(filepath, 'w', encoding='utf-8') as file:
24
- for line in stripped_lines:
25
  file.write(line + '\n') # Add '\n' to keep the file structure
26
 
27
  # Extract the filename for the download button label
@@ -47,4 +47,4 @@ with gr.Blocks() as demo:
47
 
48
 
49
  if __name__ == "__main__":
50
- demo.launch()
 
21
 
22
  # Overwrite the original file with pii replaced lines
23
  with open(filepath, 'w', encoding='utf-8') as file:
24
+ for line in pii_lines:
25
  file.write(line + '\n') # Add '\n' to keep the file structure
26
 
27
  # Extract the filename for the download button label
 
47
 
48
 
49
  if __name__ == "__main__":
50
+ demo.queue().launch()