Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ if st.button("Generate"):
|
|
| 23 |
with st.spinner("Generating image and description..."):
|
| 24 |
try:
|
| 25 |
response = client.models.generate_content(
|
| 26 |
-
model="
|
| 27 |
contents=prompt,
|
| 28 |
config=types.GenerateContentConfig(
|
| 29 |
response_modalities=['Text', 'Image']
|
|
|
|
| 23 |
with st.spinner("Generating image and description..."):
|
| 24 |
try:
|
| 25 |
response = client.models.generate_content(
|
| 26 |
+
model="imagen-3.0-generate-002",
|
| 27 |
contents=prompt,
|
| 28 |
config=types.GenerateContentConfig(
|
| 29 |
response_modalities=['Text', 'Image']
|