Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def ImageChat(image):
|
|
17 |
else:
|
18 |
img = PIL.Image.open(image)
|
19 |
|
20 |
-
response = model.generate_content(["write a short
|
21 |
|
22 |
return response.text
|
23 |
|
|
|
17 |
else:
|
18 |
img = PIL.Image.open(image)
|
19 |
|
20 |
+
response = model.generate_content(["write a short story about the image", img])
|
21 |
|
22 |
return response.text
|
23 |
|