alexkueck commited on
Commit
2d66829
·
1 Parent(s): 810ae5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -439,8 +439,8 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
439
  #Bild ausgeben
440
  image = Image.open(io.BytesIO(result))
441
  print("image:.................")
442
- print(image)
443
- history[-1][1] = io.BytesIO(result), #file.name,
444
  print("history zeichnen......................")
445
  print(history)
446
  if shared_state.interrupted:
 
439
  #Bild ausgeben
440
  image = Image.open(io.BytesIO(result))
441
  print("image:.................")
442
+ print(result)
443
+ history[-1][1] = result #file.name,
444
  print("history zeichnen......................")
445
  print(history)
446
  if shared_state.interrupted: