Code clean-up (go fmt)

This commit is contained in:
Michael Mayer 2018-09-17 18:40:57 +02:00
parent 0c1f326dc5
commit da77a1230e
6 changed files with 8 additions and 9 deletions

View file

@ -130,7 +130,6 @@ func (t *TensorFlow) findBestLabels(probabilities []float32) []TensorFlowLabel {
return resultLabels[:5]
}
func (t *TensorFlow) makeTensorFromImage(image string, imageFormat string) (*tf.Tensor, error) {
tensor, err := tf.NewTensor(image)
if err != nil {

View file

@ -3,8 +3,8 @@ package server
import (
"github.com/gin-gonic/gin"
"github.com/gin-gonic/gin/binding"
"github.com/photoprism/photoprism/internal/photoprism"
"github.com/photoprism/photoprism/internal/forms"
"github.com/photoprism/photoprism/internal/photoprism"
"net/http"
"strconv"
)