shb777 aarbelle commited on
Commit
5b69bef
·
verified ·
1 Parent(s): 9dc5c64

Update app.py (#3)

Browse files

- Update app.py (9f8d6c9798f3831bedd1fd4a67ff8f26576a9bc2)


Co-authored-by: Assaf Arbelle <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def get_text_from_content(content):
14
  if item["type"] == "text":
15
  texts.append(item["text"])
16
  elif item["type"] == "image":
17
- texts.append("[Image]")
18
  return " ".join(texts)
19
 
20
  @spaces.GPU
 
14
  if item["type"] == "text":
15
  texts.append(item["text"])
16
  elif item["type"] == "image":
17
+ texts.append("<image>")
18
  return " ".join(texts)
19
 
20
  @spaces.GPU