Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ model.to("cpu")
|
|
28 |
|
29 |
def llava(message, history):
|
30 |
if message.files:
|
31 |
-
image =
|
32 |
else:
|
33 |
for hist in history:
|
34 |
if type(hist[0])==tuple:
|
|
|
28 |
|
29 |
def llava(message, history):
|
30 |
if message.files:
|
31 |
+
image = message.files[0].path
|
32 |
else:
|
33 |
for hist in history:
|
34 |
if type(hist[0])==tuple:
|