maple3142 commited on
Commit
d22bd81
1 Parent(s): f71cb67

Update static path

Browse files
Files changed (1) hide show
  1. 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("/")