Moonjunho commited on
Commit
3d74833
·
1 Parent(s): 045d515

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def get_csv_file(docs):
32
 
33
  def get_json_file(json_docs):
34
  temp_dir = tempfile.TemporaryDirectory()
35
- temp_filepath = os.path.join(temp_dir.name, pdf_docs.name)
36
  with open(temp_filepath, "wb") as f:
37
  f.write(json_docs.getvalue())
38
 
 
32
 
33
  def get_json_file(json_docs):
34
  temp_dir = tempfile.TemporaryDirectory()
35
+ temp_filepath = os.path.join(temp_dir.name, json_docs.name)
36
  with open(temp_filepath, "wb") as f:
37
  f.write(json_docs.getvalue())
38