MarcosFRGames commited on
Commit
857968a
·
verified ·
1 Parent(s): e50dba9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ class LLMManager:
120
  except Exception as e:
121
  exception[0] = e
122
 
123
- gen_thread = threading.Thread(target=generate)
124
  gen_thread.start()
125
  gen_thread.join(timeout=120)
126
 
 
120
  except Exception as e:
121
  exception[0] = e
122
 
123
+ gen_thread = threading.Thread(target=generate, daemon=True)
124
  gen_thread.start()
125
  gen_thread.join(timeout=120)
126