Spaces:
Sleeping
Sleeping
nroggendorff
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def bot_streaming(message, history):
|
|
38 |
break
|
39 |
|
40 |
if image is None:
|
41 |
-
image = "ignore.
|
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)
|