alexkueck commited on
Commit
e89d986
1 Parent(s): 066c598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -436,7 +436,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
436
  if (prompt.find('zeichnen') != -1):
437
  #Bild ausgeben
438
  image = Image.open(io.BytesIO(result))
439
- history[-1][1] = file #image
440
  print("history......................")
441
  print(history)
442
  return history, "Stop: Success"
 
436
  if (prompt.find('zeichnen') != -1):
437
  #Bild ausgeben
438
  image = Image.open(io.BytesIO(result))
439
+ history[-1][1] = (file.name,) #image
440
  print("history......................")
441
  print(history)
442
  return history, "Stop: Success"