Skip to content

Commit 3765e8b

Browse files
committed
bugs fixed in frontend and orchestrator
1 parent 820c70a commit 3765e8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def restart():
4545
return jsonify(global_state)
4646

4747

48-
@app.route('/finish')
48+
@app.route('/finish', methods=['POST'])
4949
def finish():
5050
global global_state
5151
global_state['finished_training'] = True

orchestrator/orchestrator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ def main(op_mode, communication_rounds):
156156
type=int,
157157
required=False,
158158
default=50,
159-
help='Number of communication rounds. Default: 50)
159+
help='Number of communication rounds. Default: 50')
160160
args = parser.parse_args()
161161
try:
162-
main(op_mode=args.operation_mode, args.communication_rounds)
162+
main(args.operation_mode, args.communication_rounds)
163163
except Exception:
164164
logging.error("Fatal error in main loop", exc_info=True)
165165

0 commit comments

Comments
 (0)