mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 23:26:33 +01:00
add second task, pdf-to-text
example for kind 5000 event
This commit is contained in:
@@ -3,7 +3,7 @@ from dataclasses import dataclass
|
||||
from nostr_sdk import Event
|
||||
NEW_USER_BALANCE = 250
|
||||
|
||||
LOCAL_TASKS = ["conversion", "summarization","note-recommendation", "inactive-following", "image-upscale", "translation"]
|
||||
LOCAL_TASKS = ["pdf-to-text", "translation"]
|
||||
# Tasks performed by the DVM and not send to nova-server (can change later)
|
||||
|
||||
RELAY_LIST = ["wss://relay.damus.io", "wss://nostr-pub.wellorder.net", "wss://nos.lol", "wss://nostr.wine",
|
||||
@@ -54,7 +54,8 @@ class DVMConfig:
|
||||
SHOWRESULTBEFOREPAYMENT: bool = True # if this is true show results even when not paid right after autoprocess
|
||||
NEW_USER_BALANCE: int = 250 # Free credits for new users
|
||||
|
||||
COSTPERUNIT_TRANSLATION: int = 20 # Still need to multiply this by duration
|
||||
COSTPERUNIT_TRANSLATION: int = 20
|
||||
COSTPERUNIT_TEXT_EXTRACTION: int = 20
|
||||
|
||||
NIP89s: list = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user