Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,6 +87,7 @@ def respond(message, history):
|
|
87 |
func_caller = []
|
88 |
vqa = ""
|
89 |
|
|
|
90 |
# Handle image processing
|
91 |
if message["files"]:
|
92 |
image = user_prompt["files"][-1]
|
|
|
87 |
func_caller = []
|
88 |
vqa = ""
|
89 |
|
90 |
+
user_prompt = message
|
91 |
# Handle image processing
|
92 |
if message["files"]:
|
93 |
image = user_prompt["files"][-1]
|