alexkueck commited on
Commit
0d7202b
1 Parent(s): e21077a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -442,6 +442,7 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
442
  print("history zeichnen......................")
443
  print(history)
444
  return history, "Stop: Success"
 
445
  else:
446
  #Antwort als Stream ausgeben... wenn Textantwort gefordert
447
  print("history vor Zusatz...........")
 
442
  print("history zeichnen......................")
443
  print(history)
444
  return history, "Stop: Success"
445
+ break
446
  else:
447
  #Antwort als Stream ausgeben... wenn Textantwort gefordert
448
  print("history vor Zusatz...........")