Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ def create_notebook(file, tc, bc):
|
|
| 128 |
|
| 129 |
print(f"Page No.{p+1} completed")
|
| 130 |
|
| 131 |
-
file_path = '
|
| 132 |
|
| 133 |
# Write the notebook in UTF-8 encoding
|
| 134 |
with open(file_path + '.ipynb', 'w', encoding="utf-8") as f:
|
|
|
|
| 128 |
|
| 129 |
print(f"Page No.{p+1} completed")
|
| 130 |
|
| 131 |
+
file_path = file.split('.pdf')[0]+'.ipynb'
|
| 132 |
|
| 133 |
# Write the notebook in UTF-8 encoding
|
| 134 |
with open(file_path + '.ipynb', 'w', encoding="utf-8") as f:
|