Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def message_and_history(img, input, history, api_key):
|
|
| 71 |
inp = ' '.join(s)
|
| 72 |
output = api_calling(img,inp, api_key)
|
| 73 |
if len(input) == 0:
|
| 74 |
-
history.append((,output))
|
| 75 |
else:
|
| 76 |
history.append((input, output))
|
| 77 |
return history, history
|
|
|
|
| 71 |
inp = ' '.join(s)
|
| 72 |
output = api_calling(img,inp, api_key)
|
| 73 |
if len(input) == 0:
|
| 74 |
+
history.append(('',output))
|
| 75 |
else:
|
| 76 |
history.append((input, output))
|
| 77 |
return history, history
|