Update app.py
Browse files
app.py
CHANGED
@@ -444,7 +444,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
|
|
444 |
|
445 |
print("image:.................")
|
446 |
|
447 |
-
history[-1][1] =
|
448 |
print("history zeichnen......................")
|
449 |
print(history)
|
450 |
if shared_state.interrupted:
|
|
|
444 |
|
445 |
print("image:.................")
|
446 |
|
447 |
+
history[-1][1] = "<img src='data:image/png;base64,{image}'/>" #file.name,
|
448 |
print("history zeichnen......................")
|
449 |
print(history)
|
450 |
if shared_state.interrupted:
|