com3dian commited on
Commit
d334fd9
·
verified ·
1 Parent(s): b06f58f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ if uploaded_file is not None:
32
 
33
 
34
  saved_file_path = save_uploaded_file(uploaded_file)
35
- exec("grobid_client --input ./uploads/ processFulltextDocument")
 
36
 
37
  # client = GrobidClient(config_path="./grobidconfig.json")
38
  # client.process("processFulltextDocument",
 
32
 
33
 
34
  saved_file_path = save_uploaded_file(uploaded_file)
35
+ os.makedirs("./outputs", exist_ok=True)
36
+ exec("grobid_client --input ./uploads/ --output ./outputs processFulltextDocument")
37
 
38
  # client = GrobidClient(config_path="./grobidconfig.json")
39
  # client.process("processFulltextDocument",