mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 20:10:07 +00:00
add ordering and change date strategy
This commit is contained in:
parent
6bb4d47eeb
commit
a66a8636fe
4 changed files with 14 additions and 9 deletions
|
|
@ -1,4 +1,3 @@
|
|||
from datetime import datetime
|
||||
from typing import ClassVar, List, Literal, Optional
|
||||
|
||||
from loguru import logger
|
||||
|
|
@ -36,7 +35,6 @@ class PodcastConfig(ObjectModel):
|
|||
voice1: Optional[str] = None
|
||||
voice2: Optional[str] = None
|
||||
model: str
|
||||
created: Optional[datetime] = Field(default_factory=datetime.now)
|
||||
|
||||
def generate_episode(self, episode_name, text, instructions=None):
|
||||
self.user_instructions = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue