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