Browse Source

#31

ai-migration
みてるぞ 1 month ago
parent
commit
ba5a428f7b
3 changed files with 8 additions and 0 deletions
  1. +3
    -0
      .gitmodules
  2. +1
    -0
      nizika_ai
  3. +4
    -0
      test.py

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
[submodule "nizika_ai"]
path = nizika_ai
url = https://git.miteruzo.com/miteruzo/nizika_ai

+ 1
- 0
nizika_ai

@@ -0,0 +1 @@
Subproject commit 3ca5f7c83f5f23ece55de18d626aca3f4648502b

+ 4
- 0
test.py View File

@@ -10,12 +10,14 @@ import cv2
import ephem # type: ignore import ephem # type: ignore
import pygame import pygame
import pygame.gfxdraw import pygame.gfxdraw
import pytchat
from cv2 import VideoCapture from cv2 import VideoCapture
from ephem import Moon, Observer, Sun # type: ignore from ephem import Moon, Observer, Sun # type: ignore
from pygame import Rect, Surface from pygame import Rect, Surface
from pygame.font import Font from pygame.font import Font
from pygame.mixer import Sound from pygame.mixer import Sound
from pygame.time import Clock from pygame.time import Clock
from pytchat.core.pytchat import PytchatCore


from common_module import CommonModule from common_module import CommonModule


@@ -27,6 +29,8 @@ SYSTEM_FONT = pygame.font.SysFont ('notosanscjkjp', 24, bold = True)
USER_FONT = pygame.font.SysFont ('notosanscjkjp', 32, italic = True) USER_FONT = pygame.font.SysFont ('notosanscjkjp', 32, italic = True)
DEERJIKA_FONT = pygame.font.SysFont ('07nikumarufont', 50) DEERJIKA_FONT = pygame.font.SysFont ('07nikumarufont', 50)


PYTCHAT = pytchat.create (os.environ['BROADCAST_CODE'])



def main ( def main (
) -> None: ) -> None:


Loading…
Cancel
Save