Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,12 @@ import pandas as pd
|
|
| 8 |
import shutil
|
| 9 |
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
def clr_pred():
|
| 12 |
"""
|
| 13 |
for removing the static folder (for memoery saving in web)
|
|
|
|
| 8 |
import shutil
|
| 9 |
|
| 10 |
|
| 11 |
+
## Creating a tmp folder
|
| 12 |
+
try:
|
| 13 |
+
os.mkdir('/tmp')
|
| 14 |
+
except:
|
| 15 |
+
pass
|
| 16 |
+
|
| 17 |
def clr_pred():
|
| 18 |
"""
|
| 19 |
for removing the static folder (for memoery saving in web)
|