nroggendorff commited on
Commit
c12621a
·
verified ·
1 Parent(s): b5a0b9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def bot_streaming(message, history):
38
  break
39
 
40
  if image is None:
41
- image = "ignore.jpg"
42
 
43
  prompt = f"<|start_header_id|>user<|end_header_id|>\n\n<image>\n{message['text']}<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n"
44
  image = Image.open(image)
 
38
  break
39
 
40
  if image is None:
41
+ image = "ignore.png"
42
 
43
  prompt = f"<|start_header_id|>user<|end_header_id|>\n\n<image>\n{message['text']}<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n"
44
  image = Image.open(image)