Spaces:
Runtime error
Runtime error
Update static path
Browse files- code/app.py +1 -1
code/app.py
CHANGED
@@ -4,7 +4,7 @@ from do_predict import predict_single
|
|
4 |
from dotenv import load_dotenv
|
5 |
load_dotenv()
|
6 |
|
7 |
-
app = Flask(__name__, template_folder="static")
|
8 |
app.config["JSON_AS_ASCII"] = False
|
9 |
|
10 |
@app.route("/")
|
|
|
4 |
from dotenv import load_dotenv
|
5 |
load_dotenv()
|
6 |
|
7 |
+
app = Flask(__name__, template_folder="static", static_url_path="", static_folder="static")
|
8 |
app.config["JSON_AS_ASCII"] = False
|
9 |
|
10 |
@app.route("/")
|