Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ uploads_dir = os.path.join(app.root_path,'static', 'uploads')
|
|
| 48 |
os.makedirs(uploads_dir, exist_ok=True)
|
| 49 |
|
| 50 |
|
| 51 |
-
@app.route('/')
|
| 52 |
def index():
|
| 53 |
return flask.render_template('index.html')
|
| 54 |
|
|
@@ -83,7 +83,7 @@ def file_Upload():
|
|
| 83 |
|
| 84 |
return render_template("index.html")
|
| 85 |
|
| 86 |
-
@app.route('/
|
| 87 |
def KBUpload():
|
| 88 |
return render_template("KBTrain.html")
|
| 89 |
|
|
|
|
| 48 |
os.makedirs(uploads_dir, exist_ok=True)
|
| 49 |
|
| 50 |
|
| 51 |
+
@app.route('/Home')
|
| 52 |
def index():
|
| 53 |
return flask.render_template('index.html')
|
| 54 |
|
|
|
|
| 83 |
|
| 84 |
return render_template("index.html")
|
| 85 |
|
| 86 |
+
@app.route('/')
|
| 87 |
def KBUpload():
|
| 88 |
return render_template("KBTrain.html")
|
| 89 |
|