Commit ·
641f4f1
1
Parent(s): 57ba992
update config
Browse filesFiles changed (2)
- app.py+3-7
- requirements.txt+1-1
2 unmodified lines34567891011121314152 unmodified linesif __name__ == "__main__":import ivoryosfrom ivoryos.config import Config_config = Config()_config.SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'_config.OUTPUT_FOLDER = "/tmp/ivoryos_data"# from ivoryos_plugin.hello_world import plugin# USE CASE 1 - start OS using current moduleivoryos.run(__name__, config=_config, blueprint_plugins=source_code, port=7860)# # USE CASE 2 - start OS using current module and enable LLM with Ollama# ivoryos.run(__name__, model="llama3.1", llm_server='localhost')2 unmodified lines345678910112 unmodified linesif __name__ == "__main__":import ivoryosfrom ivoryos.config import DemoConfigivoryos.run(__name__, config=DemoConfig(), blueprint_plugins=source_code, port=7860)# # USE CASE 2 - start OS using current module and enable LLM with Ollama# ivoryos.run(__name__, model="llama3.1", llm_server='localhost')
1ivoryos>=1.0.41ivoryos>=1.0.5
app.py+3-7
requirements.txt+1-1