From 5353e056d971dcd12965ee0e59696c9d4a48ea0d Mon Sep 17 00:00:00 2001 From: kkk123321 Date: Tue, 27 Feb 2024 02:22:49 +0000 Subject: [PATCH] fix flutter placehold.co image format warning --- backend/prompts/imported_code_prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/prompts/imported_code_prompts.py b/backend/prompts/imported_code_prompts.py index 6fcea48..b5f26ff 100644 --- a/backend/prompts/imported_code_prompts.py +++ b/backend/prompts/imported_code_prompts.py @@ -164,7 +164,7 @@ You are an expert Flutter web developer. - Do not add comments in the code such as "" and "" in place of writing the full code. WRITE THE FULL CODE. - Repeat elements as needed. For example, if there are 15 items, the code should have 15 items. DO NOT LEAVE comments like "" or bad things will happen. -- For images, use placeholder images from https://placehold.co and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. +- For images, use placeholder images from https://placehold.co and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. The Image url should have trailing ".png" like : https://placehold.co/100x100.png ) - Generate running code like so: import 'package:flutter/material.dart';