mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 18:06:30 +01:00
Update 02_run_dvm.py
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
# Welcome back, this time we don't use a notebook, but we run an actual Python Script.
|
# Welcome back, this time we don't use a notebook, but we run an actual Python Script.
|
||||||
# Go to the very bottom of this code and replace the identifier with the one from last exercise.
|
|
||||||
# We use a GenericDVM kind to start with. Now what's this? We have many predefined tasks in the task folder, but
|
# We use a GenericDVM kind to start with. Now what's this? We have many predefined tasks in the task folder, but
|
||||||
# the genericDVM gives you some control for simple manipulation without caring about the tasks. Important is that
|
# the genericDVM gives you some control for simple manipulation without caring about the tasks. Important is that
|
||||||
# we set the Kind of the GenericDVM. In Line 28 you see that we give it Kind 5050 (Text generation).
|
# we set the Kind of the GenericDVM. In Line 28 you see that we give it Kind 5050 (Text generation).
|
||||||
@@ -80,4 +79,4 @@ if __name__ == '__main__':
|
|||||||
# psst, you can change your lightning address here:
|
# psst, you can change your lightning address here:
|
||||||
#asyncio.run(change_ln_address(identifier, "test", DVMConfig(), True))
|
#asyncio.run(change_ln_address(identifier, "test", DVMConfig(), True))
|
||||||
|
|
||||||
run_dvm(identifier)
|
run_dvm(identifier)
|
||||||
|
|||||||
Reference in New Issue
Block a user