Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a08033

Browse files
chore: remove samples tts_synthesize_text_file tts_synthesize_ssml_file (GoogleCloudPlatform#11936)
* delete sample with region tag tts_synthesize_text_file delete sample with region tag (tts_synthesize_text_file), plus linting changes * Remove tag start line remove tag start line * Removed synthesize_file files --------- Co-authored-by: Holt Skinner <[email protected]>
1 parent 68700f0 commit 0a08033

8 files changed

Lines changed: 12 additions & 154 deletions

language/v2/language_classify_gcs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,6 @@ def sample_classify_text(
6060
# Get the confidence. Number representing how certain the classifier
6161
# is that this category represents the provided text.
6262
print(f"Confidence: {category.confidence}")
63+
64+
6365
# [END language_classify_gcs]

language/v2/language_classify_text.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,6 @@ def sample_classify_text(
5959
# Get the confidence. Number representing how certain the classifier
6060
# is that this category represents the provided text.
6161
print(f"Confidence: {category.confidence}")
62+
63+
6264
# [END language_classify_text]

language/v2/language_entities_gcs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,6 @@ def sample_analyze_entities(
8888
# the language specified in the request or, if not specified,
8989
# the automatically-detected language.
9090
print(f"Language of the text: {response.language_code}")
91+
92+
9193
# [END language_entities_gcs]

language/v2/language_entities_text.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,6 @@ def sample_analyze_entities(text_content: str = "California is a state.") -> Non
8383
# the language specified in the request or, if not specified,
8484
# the automatically-detected language.
8585
print(f"Language of the text: {response.language_code}")
86+
87+
8688
# [END language_entities_text]

language/v2/language_sentiment_gcs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,6 @@ def sample_analyze_sentiment(
7070
# the language specified in the request or, if not specified,
7171
# the automatically-detected language.
7272
print(f"Language of the text: {response.language_code}")
73+
74+
7375
# [END language_sentiment_gcs]

language/v2/language_sentiment_text.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,6 @@ def sample_analyze_sentiment(text_content: str = "I am so happy and joyful.") ->
6969
# the language specified in the request or, if not specified,
7070
# the automatically-detected language.
7171
print(f"Language of the text: {response.language_code}")
72+
73+
7274
# [END language_sentiment_text]

texttospeech/snippets/synthesize_file.py

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

texttospeech/snippets/synthesize_file_test.py

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

0 commit comments

Comments
 (0)