File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,4 @@ def index():
7272 optimized_time = optimized_time ,
7373 num_clusters = len (lsra_optimized .clusters )
7474 )
75- return render_template ("index.html" )
76-
77- if __name__ == "__main__" :
78- app .run (debug = True )
75+ return render_template ("index.html" )
Original file line number Diff line number Diff line change 1+ from wsgi import app
Original file line number Diff line number Diff line change 1+ {
2+ "version" :2 ,
3+ "builds" : [
4+ {
5+ "src" :" ./index.py" ,
6+ "use" : " @vercel/python" ,
7+ "config" :{"runtime" :" python3.8" }
8+ }
9+ ],
10+ "routes" : [
11+ {
12+ "src" :" /(.*)" ,
13+ "dest" :" /"
14+ }
15+ ]
16+ }
Original file line number Diff line number Diff line change 1+ from app import app
2+
3+ if __name__ == '__main__' :
4+ app .run (debug = True )
You can’t perform that action at this time.
0 commit comments