teelinsan commited on
Commit
6fd5f92
1 Parent(s): 8e342b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ def to_html(document):
32
 
33
 
34
  def upload_file(file, paper_type):
35
- command = f"python3 aclpubcheck-main/aclpubcheck/formatchecker.py --paper_type {paper_type} {file.name.replace(' ', '\ ')}"
 
36
  out = subprocess.run(command, shell=True, stdout=subprocess.PIPE, text=True, stderr=subprocess.STDOUT)
37
  return to_html(remove_color_codes(out.stdout))
38
 
 
32
 
33
 
34
  def upload_file(file, paper_type):
35
+ file_name = file.name.replace(" ", "\ ")
36
+ command = f"python3 aclpubcheck-main/aclpubcheck/formatchecker.py --paper_type {paper_type} {file_name}"
37
  out = subprocess.run(command, shell=True, stdout=subprocess.PIPE, text=True, stderr=subprocess.STDOUT)
38
  return to_html(remove_color_codes(out.stdout))
39