merve HF staff commited on
Commit
ab85ffe
1 Parent(s): 56b0f5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -74,8 +74,9 @@ def inference(pdf_file, pdf_link, file_btn):
74
  with open(f"{os.getcwd()}/output.txt","w+") as f:
75
  f.write(content)
76
  f.close()
77
-
78
- return content, f"{os.getcwd()}/output.txt"
 
79
 
80
 
81
  css = """
 
74
  with open(f"{os.getcwd()}/output.txt","w+") as f:
75
  f.write(content)
76
  f.close()
77
+ file_path = f"{os.getcwd()}/output.txt"
78
+
79
+ return content, file_path
80
 
81
 
82
  css = """