Skip to content

Commit

Permalink
Update Branding in Files
Browse files Browse the repository at this point in the history
  • Loading branch information
holtskinner committed Nov 13, 2024
1 parent d65985c commit 53e2f80
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
\simagen\s\w

# Should be Imagen 2 or Imagen 3
\b[Ii]magen\d\b
\bImagen\d\b

# Should be BigQuery
\b(?!BigQuery\b)(?!bigquery\b)[Bb]ig\s?[Qq]uery\b
Expand Down
2 changes: 1 addition & 1 deletion genkit/postcard-generator/docs/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ You can then navigate to [localhost:3000](http://localhost:3000) and send a demo
- The prompt can be seen in [prompts/postcard-map.prompt](prompts/postcard-map.prompt)
- This prompt requests Gemini returns the response in structured JSON, the schema of which can be seen in [libs/genkit/schema.ts](libs/genkit/schema.ts).
- An example [partial prompt](https://firebase.google.com/docs/genkit/dotprompt#partials) in [prompts/\_example-highlights.prompt](prompts/_example-highlights.prompt)
4. The highlights of the route alongside the start and end is sent to Imagen3
4. The highlights of the route alongside the start and end is sent to Imagen 3
- This prompt can be seen in [prompts/postcard-image.prompt](prompts/postcard-image.prompt)
5. The flow returns the generated image, the story created, and the map image

Expand Down
2 changes: 1 addition & 1 deletion genkit/postcard-generator/libs/genkit/flows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ configureGenkit(genkitConfig);
const authEnabled = process.env.AUTH_ENABLED?.toLowerCase() !== "false";

/**
* Create a postcard using Google Maps, Gemini, and Imagen3. Should not be called
* Create a postcard using Google Maps, Gemini, and Imagen 3. Should not be called
* directly from clients, instead route through callPostcardFlow
*
* @see callPostcardFlow
Expand Down
4 changes: 2 additions & 2 deletions vision/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ This directory contains examples and guides for using Google Cloud's Vision AI p
## Getting Started

- [Image Generation](getting-started/image_generation.ipynb): Introduction to generating images with Google Cloud's Imagen models.
- [Imagen3 Image Generation](getting-started/imagen3_image_generation.ipynb): Learn how to use the Imagen3 model for text-to-image generation.
- [Imagen 3 Image Generation](getting-started/imagen3_image_generation.ipynb): Learn how to use the Imagen 3 model for text-to-image generation.
- [Image Editing](getting-started/image_editing.ipynb): Edit images using Imagen and provide text instructions.
- [Image Editing Mask Mode](getting-started/image_editing_maskmode.ipynb): Explore using the mask mode feature of image editing.
- [Visual Question Answering](getting-started/visual_question_answering.ipynb): Learn to ask questions about images and get relevant answers.
- [Visual Captioning](getting-started/visual_captioning.ipynb): Generate captions that describe the content of images.

## Use Cases

- [Advanced Prompting for Imagen2](use-cases/advanced_prompting_for_imagen2.ipynb): Deep dive into advanced prompting techniques to enhance your Imagen2 image generation results.
- [Advanced Prompting for Imagen 2](use-cases/advanced_prompting_for_imagen2.ipynb): Deep dive into advanced prompting techniques to enhance your Imagen 2 image generation results.
- [Creating High Quality Visual Assets with Gemini and Imagen](use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen.ipynb): Learn to create high-quality visual assets by combining the power of Gemini and Imagen.
- [Brochure Creation Using Imagen](use-cases/brochure-creation-using-imagen/brochure_creation_using_imagen.ipynb): Step-by-step guide on how to use Imagen for generating creative brochure designs.
- [HEY_LLM / IMAGEN](use-cases/hey_llm/README.md): Custom Google Sheets functions that bring the power of Gemini and Imagen right into your spreadsheets.
Expand Down
2 changes: 1 addition & 1 deletion vision/use-cases/advanced_prompting_for_imagen2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"GEMINI_MODEL_PRO = \"gemini-1.0-pro-001\"\n",
"VISION_MODEL = \"imagegeneration@006\"\n",
"\n",
"## Imagen2 configs\n",
"## Imagen 2 configs\n",
"ASPECT_RATIOS_OPTIONS = [\"1:1\", \"9:16\", \"16:9\", \"3:4\", \"4:3\"]\n",
"NUMBER_OF_IMAGES = 4 # Between 0-4\n",
"GUIDANCE_SCALE = 90 # Controls the strength of the prompt. Suggested values are:* 0-9 (low strength) * 10-20 (medium strength)* 21+ (high strength)\n",
Expand Down

0 comments on commit 53e2f80

Please sign in to comment.