Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -40,9 +40,11 @@ def stream_chat(message: Dict[str, str], history: list):
|
|
40 |
|
41 |
files = message.get('files', [])
|
42 |
image_path = None
|
|
|
43 |
|
44 |
if files:
|
45 |
image_path = files[0]['path']
|
|
|
46 |
|
47 |
# image_path = None
|
48 |
# if len(message.files) != 0:
|
|
|
40 |
|
41 |
files = message.get('files', [])
|
42 |
image_path = None
|
43 |
+
print(files)
|
44 |
|
45 |
if files:
|
46 |
image_path = files[0]['path']
|
47 |
+
print(image_path)
|
48 |
|
49 |
# image_path = None
|
50 |
# if len(message.files) != 0:
|