Spaces:
Configuration error
Configuration error
File size: 305 Bytes
2716385 |
1 2 3 4 5 6 7 8 9 10 11 |
import google.generativeai as genai
import os
genai.configure(api_key=os.environ["AIzaSyB5WiEJf_yLMD1dMQf305EAbaPTzF_QD-I"])
model = genai.GenerativeModel('gemini-1.5-flash')
response = model.generate_content(
text_input="the color of the car is ?",
image_input="car.jpg"
)
print(response.text) |