Skip to content

Commit

Permalink
Revert 文生图组件 (#620)
Browse files Browse the repository at this point in the history
Co-authored-by: yinjiaqi <[email protected]>
  • Loading branch information
C9luster and yinjiaqi authored Nov 27, 2024
1 parent ffeaea6 commit 60d2cd1
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 448 deletions.
2 changes: 0 additions & 2 deletions python/core/components/v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@

from .animal_recognize.component import AnimalRecognition
from .image_understand.component import ImageUnderstand
from .text_to_image.component import Text2Image

__V2_COMPONENTS__ = [
"AnimalRecognition",
"ImageUnderstand",
"Text2Image",
] # NOQA
13 changes: 0 additions & 13 deletions python/core/components/v2/text_to_image/__init__.py

This file was deleted.

354 changes: 0 additions & 354 deletions python/core/components/v2/text_to_image/component.py

This file was deleted.

7 changes: 1 addition & 6 deletions python/tests/component_tool_eval_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,9 @@ def inputs(self):
def outputs(self):
return {"text": ["熊猫"]}

class Text2ImageCase:
def inputs(self):
return {"query": "生成一张熊猫图片"}

component_tool_eval_cases = {
"AnimalRecognition": AnimalRecognitionCase,
"ImageUnderstand": ImageUnderstandCase,
"ASR": ASRCase,
"TreeMind": TreeMindCase,
"Text2Image": Text2ImageCase
"TreeMind": TreeMindCase
}
Loading

0 comments on commit 60d2cd1

Please sign in to comment.