def train(request): if not request.user.is_authenticated(): return redirect(login) if not utility.are_there_photos(): return redirect('/capture/?status=empty') return render(request, 'train.html')
def train(request): if not utility.are_there_photos(): return redirect('/capture/?status=empty') return render(request, 'train.html')