Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def stream_chat(message: Dict[str, str], history: list):
|
|
47 |
history = history[1:]
|
48 |
|
49 |
if image_path is not None:
|
50 |
-
image = Image.open(image_path)
|
51 |
else:
|
52 |
image = Image.new("RGB", (100, 100), (255, 255, 255))
|
53 |
|
|
|
47 |
history = history[1:]
|
48 |
|
49 |
if image_path is not None:
|
50 |
+
image = Image.open(image_path).convert("RGB")
|
51 |
else:
|
52 |
image = Image.new("RGB", (100, 100), (255, 255, 255))
|
53 |
|