mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
allow to set default input option
This commit is contained in:
parent
e51e6506b3
commit
1e94ff6059
@ -46,7 +46,8 @@ class GenericDVM(DVMTaskInterface):
|
||||
prompt = tag.as_vec()[1]
|
||||
|
||||
request_form = {"jobID": event.id().to_hex()}
|
||||
self.options["input"] = prompt
|
||||
if prompt != "":
|
||||
self.options["input"] = prompt
|
||||
request_form['options'] = json.dumps(self.options)
|
||||
return request_form
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -1,6 +1,6 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
VERSION = '0.8.8'
|
||||
VERSION = '0.8.9'
|
||||
DESCRIPTION = 'A framework to build and run Nostr NIP90 Data Vending Machines'
|
||||
LONG_DESCRIPTION = ('A framework to build and run Nostr NIP90 Data Vending Machines. See the github repository for more information')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user