Commit
·
641f4f1
1
Parent(s):
57ba992
update config
Browse files- app.py +3 -7
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -3,13 +3,9 @@ from demo_code_plugin.plugin import source_code
|
|
| 3 |
|
| 4 |
if __name__ == "__main__":
|
| 5 |
import ivoryos
|
| 6 |
-
from ivoryos.config import
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
_config.OUTPUT_FOLDER = "/tmp/ivoryos_data"
|
| 10 |
-
# from ivoryos_plugin.hello_world import plugin
|
| 11 |
-
# USE CASE 1 - start OS using current module
|
| 12 |
-
ivoryos.run(__name__, config=_config, blueprint_plugins=source_code, port=7860)
|
| 13 |
|
| 14 |
# # USE CASE 2 - start OS using current module and enable LLM with Ollama
|
| 15 |
# ivoryos.run(__name__, model="llama3.1", llm_server='localhost')
|
|
|
|
| 3 |
|
| 4 |
if __name__ == "__main__":
|
| 5 |
import ivoryos
|
| 6 |
+
from ivoryos.config import DemoConfig
|
| 7 |
+
|
| 8 |
+
ivoryos.run(__name__, config=DemoConfig(), blueprint_plugins=source_code, port=7860)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# # USE CASE 2 - start OS using current module and enable LLM with Ollama
|
| 11 |
# ivoryos.run(__name__, model="llama3.1", llm_server='localhost')
|
requirements.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
ivoryos>=1.0.
|
|
|
|
| 1 |
+
ivoryos>=1.0.5
|