Skickar med use_model när index.html rendreras
This commit is contained in:
@@ -42,7 +42,7 @@ def index():
|
|||||||
logger.debug("Client HTML (first few characters): %s", client_html[:50]) # Print to see if it's loading
|
logger.debug("Client HTML (first few characters): %s", client_html[:50]) # Print to see if it's loading
|
||||||
# logger.debug("Client HTML (all characters): %s", client_html) # Print to see if it's loading
|
# logger.debug("Client HTML (all characters): %s", client_html) # Print to see if it's loading
|
||||||
|
|
||||||
return render_template('index.html', api_endpoint=api_endpoint, client_content=client_html)
|
return render_template('index.html', api_endpoint=api_endpoint, use_model = use_model, client_content=client_html)
|
||||||
|
|
||||||
@app.route('/<path:filename>')
|
@app.route('/<path:filename>')
|
||||||
def serve_static(filename):
|
def serve_static(filename):
|
||||||
|
|||||||
Reference in New Issue
Block a user