peterpeter8585 commited on
Commit
777a944
1 Parent(s): 9d2dd6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -77,8 +77,7 @@ def respond1(
77
  yield response
78
  def respond0(multimodal_input,password):
79
  if password==password1:
80
- if multimodal_input["files"] not None:
81
-
82
  images = multimodal_input["files"]
83
  content = [{"type": "image"} for _ in images]
84
  content.append({"type": "text", "text": multimodal_input["text"]})
 
77
  yield response
78
  def respond0(multimodal_input,password):
79
  if password==password1:
80
+ if multimodal_input["files"] =! None:
 
81
  images = multimodal_input["files"]
82
  content = [{"type": "image"} for _ in images]
83
  content.append({"type": "text", "text": multimodal_input["text"]})