alexkueck commited on
Commit
5dedee7
1 Parent(s): 3a56aa2

Update app.py

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