Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix and update service schemas and apps #2980

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Bobholamovic
Copy link
Member

No description provided.

@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import Any, Dict, List
from typing import Any
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

去除未用到的部分

@@ -50,6 +50,7 @@ async def _infer(
images,
use_doc_orientation_classify=request.useDocOrientationClassify,
use_doc_unwarping=request.useDocUnwarping,
use_textline_orientation=request.useTextlineOrientation,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

适应新接口

index_data = IndexData.from_bytes(index_data_bytes)
else:
index_data = None
index_storage = ctx.extra["index_storage"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里原先和产线功能没对齐;该参数应该是required

@@ -14,7 +14,7 @@

from typing import List

from pydantic import Field, BaseModel
from pydantic import BaseModel, Field
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isort自动修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant