Skip to content

Commit 31e3668

Browse files
committed
chore(genai): remove migrated and unused image generation samples
Deletes unused image generation examples (raw reference, scribble control type, and style reference) and updates the corresponding tests.
1 parent a0230e4 commit 31e3668

4 files changed

Lines changed: 0 additions & 192 deletions

File tree

‎genai/image_generation/imggen_raw_reference_with_txt_img.py‎

Lines changed: 0 additions & 54 deletions
This file was deleted.

‎genai/image_generation/imggen_scribble_ctrl_type_with_txt_img.py‎

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎genai/image_generation/imggen_style_reference_with_txt_img.py‎

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎genai/image_generation/test_image_generation.py‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222

2323
from google.cloud import storage
2424

25-
import imggen_raw_reference_with_txt_img
26-
import imggen_scribble_ctrl_type_with_txt_img
27-
import imggen_style_reference_with_txt_img
2825
import imggen_subj_refer_ctrl_refer_with_txt_imgs
2926
import imggen_upscale_with_img
3027
import imggen_virtual_try_on_with_txt_img
@@ -67,21 +64,6 @@ def test_img_customization_subject(output_gcs_uri: str) -> None:
6764
assert response
6865

6966

70-
def test_img_customization_style(output_gcs_uri: str) -> None:
71-
response = imggen_style_reference_with_txt_img.style_customization(output_gcs_uri=output_gcs_uri)
72-
assert response
73-
74-
75-
def test_img_customization_style_transfer(output_gcs_uri: str) -> None:
76-
response = imggen_raw_reference_with_txt_img.style_transfer_customization(output_gcs_uri=output_gcs_uri)
77-
assert response
78-
79-
80-
def test_img_customization_scribble(output_gcs_uri: str) -> None:
81-
response = imggen_scribble_ctrl_type_with_txt_img.scribble_customization(output_gcs_uri=output_gcs_uri)
82-
assert response
83-
84-
8567
def test_img_virtual_try_on() -> None:
8668
OUTPUT_FILE = os.path.join(RESOURCES, "man_in_sweater.png")
8769
response = imggen_virtual_try_on_with_txt_img.virtual_try_on(OUTPUT_FILE)

0 commit comments

Comments
 (0)