Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -441,7 +441,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
|
|
441 |
buffer = io.BytesIO()
|
442 |
image.save(buffer, format='PNG')
|
443 |
desiredObject = buffer.getbuffer()
|
444 |
-
|
445 |
print("image:.................")
|
446 |
print(desiredObject)
|
447 |
history[-1][1] = desiredObject #file.name,
|
|
|
441 |
buffer = io.BytesIO()
|
442 |
image.save(buffer, format='PNG')
|
443 |
desiredObject = buffer.getbuffer()
|
444 |
+
|
445 |
print("image:.................")
|
446 |
print(desiredObject)
|
447 |
history[-1][1] = desiredObject #file.name,
|