Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Change-Id: I0c72841eb2ebad0075d0024624a42fe36fef883f
  • Loading branch information
MarkDaoust committed Nov 26, 2024
1 parent 938ed40 commit 95d6105
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion samples/code_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from absl.testing import absltest



class UnitTests(absltest.TestCase):
def test_code_execution_basic(self):
# [START code_execution_basic]
Expand Down
1 change: 0 additions & 1 deletion samples/configure_model_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from absl.testing import absltest



class UnitTests(absltest.TestCase):
def test_configure_model(self):
# [START configure_model_parameters]
Expand Down
3 changes: 0 additions & 3 deletions samples/embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@
from absl.testing import absltest




class UnitTests(absltest.TestCase):
def test_embed_content(self):
# [START embed_content]
import google.generativeai as genai


text = "Hello World!"
result = genai.embed_content(
model="models/text-embedding-004", content=text, output_dimensionality=10
Expand Down
1 change: 0 additions & 1 deletion samples/function_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from absl.testing import absltest



class UnitTests(absltest.TestCase):
def test_function_calling(self):
# [START function_calling]
Expand Down
1 change: 0 additions & 1 deletion samples/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from absl.testing import absltest



class UnitTests(absltest.TestCase):
def test_models_list(self):
# [START models_list]
Expand Down
1 change: 0 additions & 1 deletion samples/safety_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from absl.testing import absltest



class UnitTests(absltest.TestCase):
def test_safety_settings(self):
# [START safety_settings]
Expand Down
1 change: 0 additions & 1 deletion samples/system_instruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from absl.testing import absltest



class UnitTests(absltest.TestCase):
def test_system_instructions(self):
# [START system_instruction]
Expand Down

0 comments on commit 95d6105

Please sign in to comment.