mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-07-10 06:20:41 +02:00
Update main.py
This commit is contained in:
3
main.py
3
main.py
@ -56,6 +56,7 @@ def run_nostr_dvm_with_local_config():
|
|||||||
sketcher = build_sketcher("Sketcher")
|
sketcher = build_sketcher("Sketcher")
|
||||||
bot_config.SUPPORTED_DVMS.append(sketcher) # We also add Sketcher to the bot
|
bot_config.SUPPORTED_DVMS.append(sketcher) # We also add Sketcher to the bot
|
||||||
sketcher.run()
|
sketcher.run()
|
||||||
|
# Spawn DVM5, Another script on nova-server calling WhisperX to transcribe media files
|
||||||
|
|
||||||
if os.getenv("NOVA_SERVER") is not None and os.getenv("NOVA_SERVER") != "":
|
if os.getenv("NOVA_SERVER") is not None and os.getenv("NOVA_SERVER") != "":
|
||||||
whisperer = build_whisperx("Whisperer")
|
whisperer = build_whisperx("Whisperer")
|
||||||
@ -64,7 +65,7 @@ def run_nostr_dvm_with_local_config():
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Spawn DVM5, this one requires an OPENAI API Key and balance with OpenAI, you will move the task to them and pay
|
# Spawn DVM6, 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,
|
# 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.
|
# you're being generous.
|
||||||
if os.getenv("OPENAI_API_KEY") is not None and os.getenv("OPENAI_API_KEY") != "":
|
if os.getenv("OPENAI_API_KEY") is not None and os.getenv("OPENAI_API_KEY") != "":
|
||||||
|
Reference in New Issue
Block a user