Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def get_response(text_input, image_input):
|
|
| 21 |
image_input = Image.fromarray(np.uint8(image_input))
|
| 22 |
|
| 23 |
if text_input == '' and image_input is None:
|
| 24 |
-
return "Please provide a text
|
| 25 |
|
| 26 |
if text_input != '' and image_input is not None:
|
| 27 |
response = model1.generate_content([text_input, image_input])
|
|
|
|
| 21 |
image_input = Image.fromarray(np.uint8(image_input))
|
| 22 |
|
| 23 |
if text_input == '' and image_input is None:
|
| 24 |
+
return "Please provide a text or image."
|
| 25 |
|
| 26 |
if text_input != '' and image_input is not None:
|
| 27 |
response = model1.generate_content([text_input, image_input])
|