Arjs commited on
Commit
3f0b4a9
·
verified ·
1 Parent(s): e874b92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- image_desc = category(image)
135
- return image_desc
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=='':