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