Skip to content

Commit

Permalink
Updated package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kardbord committed Dec 9, 2023
1 parent ac8c610 commit 0504a57
Show file tree
Hide file tree
Showing 40 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ release:
footer: |
## Full Changelog
https://github.com/TannerKvarfordt/hfapigo/compare/{{ .PreviousTag }}...{{ .Tag }}
https://github.com/Kardbord/hfapigo/compare/{{ .PreviousTag }}...{{ .Tag }}
# modelines #
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# hfapigo

[![Unit Tests](https://github.com/TannerKvarfordt/hfapigo/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/TannerKvarfordt/hfapigo/actions/workflows/unit-tests.yml)
[![CodeQL](https://github.com/TannerKvarfordt/hfapigo/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/TannerKvarfordt/hfapigo/actions/workflows/codeql-analysis.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/TannerKvarfordt/hfapigo)](https://goreportcard.com/report/github.com/TannerKvarfordt/hfapigo)
[![Go Reference](https://pkg.go.dev/badge/github.com/TannerKvarfordt/hfapigo.svg)](https://pkg.go.dev/github.com/TannerKvarfordt/hfapigo)
[![Unit Tests](https://github.com/Kardbord/hfapigo/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/Kardbord/hfapigo/actions/workflows/unit-tests.yml)
[![CodeQL](https://github.com/Kardbord/hfapigo/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Kardbord/hfapigo/actions/workflows/codeql-analysis.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/Kardbord/hfapigo)](https://goreportcard.com/report/github.com/Kardbord/hfapigo)
[![Go Reference](https://pkg.go.dev/badge/github.com/Kardbord/hfapigo.svg)](https://pkg.go.dev/github.com/Kardbord/hfapigo)

(Golang) Go bindings for the [Hugging Face Inference API](https://api-inference.huggingface.co/docs/python/html/index.html).
Directly call any model available in the [Model Hub](https://huggingface.co/models).
Expand Down
2 changes: 1 addition & 1 deletion audio_classification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

func TestAudioClassificationRequest(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion conversational_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion examples/audio_classification/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/conversational/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"syscall"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/fill_mask/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/image_classification/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/image_segmentation/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"golang.org/x/image/font"
"golang.org/x/image/font/basicfont"
"golang.org/x/image/math/fixed"
Expand Down
2 changes: 1 addition & 1 deletion examples/image_to_text/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/object_detection/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/question_answering/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/sentence_similarity/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/speech_recognition/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/summarization/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/table_question_answering/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"text/tabwriter"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const TableRows = 2
Expand Down
2 changes: 1 addition & 1 deletion examples/text_classification/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/text_generation/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/text_to_image/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/token_classification/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/translation/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion examples/zeroshot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion fill_mask_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/TannerKvarfordt/hfapigo
module github.com/Kardbord/hfapigo

go 1.17

Expand Down
2 changes: 1 addition & 1 deletion image_classification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hfapigo_test
import (
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

func TestImageClassificationRequest(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion image_segmentation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hfapigo_test
import (
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

func TestImageSegmentationRequest(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion image_to_text_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

func TestImageToText(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion object_detection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

func TestObjectDetectionRequest(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion question_answering_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion sentence_similarity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

const HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion speech_recognition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

func TestSpeechRecognitionRequest(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion summarization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion table_question_answering_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion text_classification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion text_generation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion text_to_image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hfapigo_test
import (
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
)

func TestTextToImage(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion token_classification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion translation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion zeroshot_classification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

"github.com/TannerKvarfordt/hfapigo"
"github.com/Kardbord/hfapigo"
"github.com/google/go-cmp/cmp"
)

Expand Down

0 comments on commit 0504a57

Please sign in to comment.