mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 21:36:27 +01:00
updated option structure
This commit is contained in:
@@ -15,12 +15,11 @@ Post process results to either given output format or a Nostr readable plain tex
|
||||
|
||||
|
||||
def post_process_result(anno, original_event):
|
||||
print("post-processing...")
|
||||
print("Post-processing...")
|
||||
if isinstance(anno, pandas.DataFrame): # if input is an anno we parse it to required output format
|
||||
for tag in original_event.tags():
|
||||
print(tag.as_vec()[0])
|
||||
if tag.as_vec()[0] == "output":
|
||||
print("HAS OUTPUT TAG")
|
||||
output_format = tag.as_vec()[1]
|
||||
print("requested output is " + str(tag.as_vec()[1]) + "...")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user