merve HF staff commited on
Commit
04a08ae
·
1 Parent(s): 8f2e26c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -75,6 +75,8 @@ def inference(pdf_file, pdf_link, file_btn):
75
  f.write(content)
76
  f.close()
77
  file_path = f"{os.getcwd()}/output.md"
 
 
78
 
79
  return content, file_path
80
 
 
75
  f.write(content)
76
  f.close()
77
  file_path = f"{os.getcwd()}/output.md"
78
+ else:
79
+ file_path=""
80
 
81
  return content, file_path
82