Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
|
|
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 = """
|