mirror of
https://github.com/Doctorado-ML/benchmark.git
synced 2025-08-15 23:45:54 +00:00
Fix excel route in select
This commit is contained in:
@@ -242,7 +242,10 @@ class Arguments(argparse.ArgumentParser):
|
||||
"default": "local",
|
||||
"choices": ["local", "docker"],
|
||||
"required": False,
|
||||
"help": "in be_flask tells if it is running in local or in docker {local, docker}",
|
||||
"help": (
|
||||
"in be_flask tells if it is running in local or "
|
||||
"in docker {local, docker}"
|
||||
),
|
||||
},
|
||||
],
|
||||
"platform": [
|
||||
|
@@ -16,5 +16,5 @@
|
||||
<script>
|
||||
{% include'/js/select.js' %}
|
||||
</script>
|
||||
{{ javascript('/js/excelFiles.js') }}
|
||||
{{ javascript('js/excelFiles.js') }}
|
||||
{% endblock %}
|
||||
|
@@ -12,6 +12,7 @@ def main(args_test=None):
|
||||
app = create_app()
|
||||
app.config[TEST] = args_test is not None
|
||||
app.config[OUTPUT] = args.output
|
||||
print("Output is ", args.output)
|
||||
if args.output == "local":
|
||||
webbrowser.open_new("http://127.0.0.1:1234/")
|
||||
app.run(port=1234, host="0.0.0.0")
|
||||
|
Reference in New Issue
Block a user