gpt-3.5-turbo-0613· openai
Suzhen/CodeChat
from pygoogle_image import image as pi pi.download(' $NOT',…
- User
from pygoogle_image import image as pi pi.download(' $NOT', limit=3,extensions=['.jpeg']) now every picture is the same , how can i change this
- Assistant
To avoid downloading the same image repeatedly, you can modify your code as follows:
from pygoogle_image import image as pi query = 'dog' # Replace '$NOT' with your desired search query limit = 3 # Pass the query and limit to the download function pi.download(query, limit=limit, extensions=['.jpeg'])Make sure to replace
'$NOT'with your desired search query. This will ensure that you retrieve different images by specifying a valid search query.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.