Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,8 +131,8 @@ chain = prompt | chat_model
|
|
| 131 |
def handle_input(image, text, session_id):
|
| 132 |
if image:
|
| 133 |
# Handle image input
|
| 134 |
-
|
| 135 |
-
|
| 136 |
else:
|
| 137 |
# Handle text input
|
| 138 |
if text=='':
|
|
|
|
| 131 |
def handle_input(image, text, session_id):
|
| 132 |
if image:
|
| 133 |
# Handle image input
|
| 134 |
+
response = category(image)
|
| 135 |
+
|
| 136 |
else:
|
| 137 |
# Handle text input
|
| 138 |
if text=='':
|