- asdf
Try this:
python -m venv venv
kaboom({ | |
global: true, | |
fullscreen: true, | |
clearColor: [0, 0, 0, 1], | |
debug: true, | |
scale: 1, | |
}); | |
const SPEED = 240; | |
const TILE_SIZE = 20; |
diff --git a/.gitignore b/.gitignore | |
index cd5cc6c..13466b5 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -3,4 +3,7 @@ venv | |
__pycache__ | |
*.pyc | |
*.txt | |
+*.wav | |
+*.mp3 |
diff --git a/ai_presenter/ai_presenter.py b/ai_presenter/ai_presenter.py | |
index 0da30d6..170412c 100644 | |
--- a/ai_presenter/ai_presenter.py | |
+++ b/ai_presenter/ai_presenter.py | |
@@ -10,63 +10,18 @@ class AIPresenter: | |
self.generator = g | |
def run(self): | |
- self.__run_text_ai() | |
- self.__run_voice_ai() |
Using the playground, not the chat:
https://platform.openai.com/playground
Initial setup:
diff --git a/ai_presenter/voice_ai/base.py b/ai_presenter/voice_ai/base.py | |
index 716c9a9..d5c6db1 100644 | |
--- a/ai_presenter/voice_ai/base.py | |
+++ b/ai_presenter/voice_ai/base.py | |
@@ -3,11 +3,21 @@ from ai_presenter.config.voice import VoiceConfig | |
import logging | |
+class VoiceAIActor: | |
+ def __init__(self, config): |
Now in the yaml definition there are actors, locations, and scenes. actors have names, description, voice type, age, height. locations have type of outside, or inside, mountains, cabin, etc. Locations also have lighting. Scenes have actors in a location with multiple dialog
actors:
- name: John Doe
description: A charismatic detective
voice_type: Baritone
age: 35
height: 6 feet
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"sync" | |
"time" | |
"golang.org/x/time/rate" | |
) |
public static Node reverse(Node list) { | |
Node n; | |
Node head; | |
if (list == null) { | |
return null; | |
} |