Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def bot_streaming(message, history):
|
|
52 |
break # Exit loop after finding the first image
|
53 |
|
54 |
if image is None:
|
55 |
-
image = "
|
56 |
|
57 |
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"
|
58 |
# print(f"prompt: {prompt}")
|
|
|
52 |
break # Exit loop after finding the first image
|
53 |
|
54 |
if image is None:
|
55 |
+
image = "ignore.png"
|
56 |
|
57 |
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"
|
58 |
# print(f"prompt: {prompt}")
|