Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardopinosio committed Mar 21, 2024
1 parent bb77090 commit 74f8929
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ import (
var textClassificationData []byte

//go:embed testData/tokenClassification.jsonl
// var tokenClassificationData []byte
var tokenClassificationData []byte

func TestMain(m *testing.M) {
// model setup
if ok, err := util.FileSystem.Exists(context.Background(), "/build/models"); err == nil {
fmt.Println("HERE NO ERROR")
fmt.Println("HERE")
if !ok {
fmt.Println("HERE MODEL FOLDER NOT THERE")
session, err := hugot.NewSession()
if err != nil {
panic(err)
Expand Down

0 comments on commit 74f8929

Please sign in to comment.