fix freeze on startup
This commit is contained in:
parent
ad9a91f1b5
commit
bd85b2a4f9
|
@ -46,8 +46,6 @@ opts.auth_required = config['auth_required']
|
||||||
opts.log_prompts = config['log_prompts']
|
opts.log_prompts = config['log_prompts']
|
||||||
opts.concurrent_gens = config['concurrent_gens']
|
opts.concurrent_gens = config['concurrent_gens']
|
||||||
|
|
||||||
opts.running_model = get_running_model()
|
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
cache.init_app(app)
|
cache.init_app(app)
|
||||||
# with app.app_context():
|
# with app.app_context():
|
||||||
|
|
Reference in New Issue