Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
asr-benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
All's good
Show more breadcrumbs
Marcin Wątroba
asr-benchmarks
Merge requests
!10
Feature/add auth asr service
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Feature/add auth asr service
feature/add_auth_asr_service
into
main
Overview
1
Commits
17
Pipelines
0
Changes
1
Merged
Feature/add auth asr service
Marcin Wątroba
requested to merge
feature/add_auth_asr_service
into
main
Aug 16, 2021
Overview
1
Commits
17
Pipelines
0
Changes
1
Created by: markowanga
0
0
Merge request reports
Viewing commit
8a3e352e
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Unverified
8a3e352e
Add Chamges in dockers
· 8a3e352e
Marcin Wątroba
authored
Aug 17, 2021
sziszapangma/integration/service_core/embedding/embedding_base_processor.py
+
1
−
1
View file @ 8a3e352e
Edit in single-file editor
Open in Web IDE
Show full file
@@ -28,7 +28,7 @@ class EmbeddingBaseProcessor(ABC):
def
process_embeddings
(
self
,
language
:
str
):
words
=
request
.
json
if
isinstance
(
words
,
List
[
str
].
__class__
):
if
not
isinstance
(
words
,
List
)
or
not
all
(
isinstance
(
elem
,
str
)
for
elem
in
words
):
print
(
f
"
words:
{
words
}
"
)
raise
Exception
(
"
Incorrect body
"
)
return
jsonify
(
Loading