Skip to content

Commit

Permalink
modifications to add has_ai tag on service
Browse files Browse the repository at this point in the history
  • Loading branch information
andrptrc committed Nov 14, 2023
1 parent ee9c155 commit 44f15c8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,11 @@ def __init__(self):
],
tags=[
ExecutionUnitTag(
name=ExecutionUnitTagName.IMAGE_PROCESSING,
acronym=ExecutionUnitTagAcronym.IMAGE_PROCESSING,
name=ExecutionUnitTagName.IMAGE_RECOGNITION,
acronym=ExecutionUnitTagAcronym.IMAGE_RECOGNITION,
),
],
has_ai=True
)

self.model = TestNN(DOODLE_RECOGNITION_NETWORK, DOODLE_CLASSNAMES_PATH)
Expand Down Expand Up @@ -261,11 +262,9 @@ def findFirstNonNull(elem):
}


api_description = """
This service will try to guess what have been doodled...
api_description = """This service will guess what have been doodled.
"""
api_summary = """
Doodle service
api_summary = """This service will guess what have been doodled.
"""

# Define the FastAPI application with information
Expand All @@ -276,7 +275,7 @@ def findFirstNonNull(elem):
contact={
"name": "Swiss AI Center",
"url": "https://swiss-ai-center.ch/",
"email": "info@swiss-ai-center.ch",
"email": "ia.recherche@hes-so.ch",
},
swagger_ui_parameters={
"tagsSorter": "alpha",
Expand Down

0 comments on commit 44f15c8

Please sign in to comment.