Commit
·
72ca181
1
Parent(s):
99abbcc
second iteration gpt prompt
Browse files- gpt_calls.py +2 -2
gpt_calls.py
CHANGED
@@ -64,7 +64,7 @@ class AI_Songwriter:
|
|
64 |
instruction += "and complements the sections provided."
|
65 |
else:
|
66 |
instruction += "."
|
67 |
-
instruction += "You are also given a section description, genre, era, and overall description of the song. Please do not literally quote and incorporate the ideas - be poetic and incorporate them artistically to express the emotion. "
|
68 |
|
69 |
## read in prompt lyrics from convo .txt and add it to instruction
|
70 |
with open("prompts/write_section_ex.txt", "r") as f:
|
@@ -130,7 +130,7 @@ class AI_Songwriter:
|
|
130 |
else:
|
131 |
instruction += "."
|
132 |
|
133 |
-
instruction += "You are also given a genre, era, and the rest of the section. Please do not literally quote and incorporate the ideas - be poetic and incorporate them artistically to express the emotion. "
|
134 |
|
135 |
with open("prompts/revise_section_ex.txt", "r") as f:
|
136 |
convo = f.read()
|
|
|
64 |
instruction += "and complements the sections provided."
|
65 |
else:
|
66 |
instruction += "."
|
67 |
+
instruction += "You are also given a section description, genre, era, and overall description of the song. Please do not literally quote and incorporate the ideas - use simple language, short lines, and be poetic and incorporate them artistically to express the emotion. "
|
68 |
|
69 |
## read in prompt lyrics from convo .txt and add it to instruction
|
70 |
with open("prompts/write_section_ex.txt", "r") as f:
|
|
|
130 |
else:
|
131 |
instruction += "."
|
132 |
|
133 |
+
instruction += "You are also given a genre, era, and the rest of the section. Please do not literally quote and incorporate the ideas - use simple language, short lines, and be poetic and incorporate them artistically to express the emotion. "
|
134 |
|
135 |
with open("prompts/revise_section_ex.txt", "r") as f:
|
136 |
convo = f.read()
|