mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-11 08:43:04 +02:00
added whisperx (mediasources need some fixes)
This commit is contained in:
10
main.py
10
main.py
@@ -9,7 +9,8 @@ import dotenv
|
||||
from nostr_sdk import Keys
|
||||
|
||||
from bot import Bot
|
||||
from playground import build_pdf_extractor, build_translator, build_unstable_diffusion, build_sketcher, build_dalle
|
||||
from playground import build_pdf_extractor, build_translator, build_unstable_diffusion, build_sketcher, build_dalle, \
|
||||
build_whisperx
|
||||
from utils.dvmconfig import DVMConfig
|
||||
|
||||
|
||||
@@ -48,6 +49,13 @@ def run_nostr_dvm_with_local_config():
|
||||
bot_config.SUPPORTED_DVMS.append(sketcher) # We also add Sketcher to the bot
|
||||
sketcher.run()
|
||||
|
||||
if os.getenv("NOVA_SERVER") is not None and os.getenv("NOVA_SERVER") != "":
|
||||
whisperer = build_whisperx("Whisperer")
|
||||
bot_config.SUPPORTED_DVMS.append(whisperer) # We also add Sketcher to the bot
|
||||
whisperer.run()
|
||||
|
||||
|
||||
|
||||
# Spawn DVM5, this one requires an OPENAI API Key and balance with OpenAI, you will move the task to them and pay
|
||||
# per call. Make sure you have enough balance and the DVM's cost is set higher than what you pay yourself, except, you know,
|
||||
# you're being generous.
|
||||
|
Reference in New Issue
Block a user