Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ warnings.filterwarnings("ignore")
|
|
46 |
|
47 |
#app = Flask(__name__)
|
48 |
|
49 |
-
app =
|
50 |
|
51 |
# Create a directory in a known location to save files to.
|
52 |
uploads_dir = os.path.join(app.root_path,'static', 'uploads')
|
|
|
46 |
|
47 |
#app = Flask(__name__)
|
48 |
|
49 |
+
app = Flask(__name__, template_folder="./")
|
50 |
|
51 |
# Create a directory in a known location to save files to.
|
52 |
uploads_dir = os.path.join(app.root_path,'static', 'uploads')
|