alexkueck commited on
Commit
9d3d363
1 Parent(s): 2440d28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -461,11 +461,11 @@ def invoke (prompt, file, history, rag_option, model_option, openai_api_key, k=3
461
  yield history, "Generating"
462
  if shared_state.interrupted:
463
  shared_state.recover()
464
- try:
465
- yield history, "Stop: Success"
466
- return
467
- except:
468
- pass
469
 
470
  ################################################
471
  #GUI
 
461
  yield history, "Generating"
462
  if shared_state.interrupted:
463
  shared_state.recover()
464
+ try:
465
+ yield history, "Stop: Success"
466
+ return
467
+ except:
468
+ pass
469
 
470
  ################################################
471
  #GUI