Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,6 +47,7 @@ def handle_vision_call(msg, image_history):
|
|
| 47 |
}
|
| 48 |
)
|
| 49 |
stream = gpt_vision_call(image_history)
|
|
|
|
| 50 |
return stream
|
| 51 |
|
| 52 |
@traceable(run_type="llm", name="gpt 4 turbo call")
|
|
|
|
| 47 |
}
|
| 48 |
)
|
| 49 |
stream = gpt_vision_call(image_history)
|
| 50 |
+
image_history.clear()
|
| 51 |
return stream
|
| 52 |
|
| 53 |
@traceable(run_type="llm", name="gpt 4 turbo call")
|