ivoryzhang commited on
Commit
8371efc
·
1 Parent(s): 7426a77

fix config

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -13,7 +13,10 @@ if __name__ == "__main__":
13
  _conf.DUMMY_DECK = os.path.join(_conf.OUTPUT_FOLDER, 'pseudo_deck/')
14
  _conf.LLM_OUTPUT = os.path.join(_conf.OUTPUT_FOLDER, 'llm_output/')
15
  _conf.DECK_HISTORY = os.path.join(_conf.OUTPUT_FOLDER, 'deck_history.txt')
16
- SQLALCHEMY_DATABASE_URI = f"sqlite:///{os.path.join(_conf.OUTPUT_FOLDER, 'ivoryos.db')}"
 
 
 
17
  ivoryos.run(__name__, config=_conf, blueprint_plugins=source_code, port=7860)
18
 
19
  # # USE CASE 2 - start OS using current module and enable LLM with Ollama
 
13
  _conf.DUMMY_DECK = os.path.join(_conf.OUTPUT_FOLDER, 'pseudo_deck/')
14
  _conf.LLM_OUTPUT = os.path.join(_conf.OUTPUT_FOLDER, 'llm_output/')
15
  _conf.DECK_HISTORY = os.path.join(_conf.OUTPUT_FOLDER, 'deck_history.txt')
16
+ _conf.SQLALCHEMY_DATABASE_URI = f"sqlite:///{os.path.join(_conf.OUTPUT_FOLDER, 'ivoryos.db')}"
17
+ # app.config["SESSION_COOKIE_SECURE"] = False # Needed if you're testing over HTTP
18
+ # app.config["SESSION_COOKIE_SAMESITE"] = "Lax" # Or "None" if embedding cross-site
19
+ # app.config["SESSION_COOKIE_HTTPONLY"] = True
20
  ivoryos.run(__name__, config=_conf, blueprint_plugins=source_code, port=7860)
21
 
22
  # # USE CASE 2 - start OS using current module and enable LLM with Ollama