Skip to content

Commit

Permalink
Merge pull request #19 from edenartlab/stage
Browse files Browse the repository at this point in the history
update prompt
  • Loading branch information
genekogan authored Jan 24, 2024
2 parents cbdbddc + 05de992 commit 5a9b00b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/character.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def sync(self):
identity = logos_data.get("identity")
knowledge_summary = logos_data.get("knowledgeSummary")
knowledge = logos_data.get("knowledge")
creation_enabled = True
creation_enabled = character_data.get("creationEnabled", True)
concept = logos_data.get("concept")
smart_reply = character_data.get("smartReply", False)
image = character_data.get("image")
Expand Down
2 changes: 2 additions & 0 deletions app/prompt_templates/cinema/screenwriter_system.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ character: If voiceover is in character mode, the name of the speaking character
speech: If voiceover is in character or narrator mode, the text of the speech
image_description: a description of the image content for the clip

Generate around 10-12 clips. Approximately half should be character dialogue and half should be narration. For clips where the voiceover is a character, some of the image prompts may emphasize non-personal objects or scenery, and some may emphasize the character.

Do not include an introduction or restatement of the prompt, just go straight into the screenplay.
4 changes: 2 additions & 2 deletions tests/test_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def test_comic_illustration():
prompt = """
- Little Martians: Verdelis
- Setting: Simulation
- Genre: Comedy
- Premise: Verdelis comes upon a genie lamp
- Genre: Drama
- Premise: Verdelis goes to outer space cosmos
- Number of panels: 4
"""

Expand Down

0 comments on commit 5a9b00b

Please sign in to comment.