Skickar med use_model när index.html rendreras

This commit is contained in:
Joakim Persson
2024-07-29 13:15:02 +02:00
parent 1757542077
commit ab94c06e75
+1 -1
View File
@@ -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 (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>')
def serve_static(filename):