mirror of
https://github.com/Paillat-dev/FABLE.git
synced 2026-01-02 01:06:20 +00:00
fix(generators/ideas.py): fix typo in variable name 'existing_ideas'
feat(generators/montage.py): add check to skip slide if it already exists feat(generators/montage.py): add support for DEEPL_ACCESS_KEY and UNSPLASH_ACCESS_KEY environment variables feat(generators/speak.py): add support for Johanne voice feat(generators/speak.py): add emotion parameter to generate_voice function feat(generators/uploader.py): add success message and authorization prompt message to run_local_server method fix(main.py): check if credits is None before writing to meta.txt file feat(prompts/marp.md): change theme to gaia and add lead and invert classes
This commit is contained in:
@@ -20,7 +20,10 @@ async def generate_ideas(path, subject):
|
||||
except:
|
||||
ides_json = []
|
||||
ideas = "There are no existing ideas."
|
||||
prmpt = prmpt.replace('[existing ideas]', ideas)
|
||||
exuisting_ideas = ""
|
||||
for idea in ides_json:
|
||||
exuisting_ideas += f"{idea['title']}\n"
|
||||
prmpt = prmpt.replace('[existing ideas]', exuisting_ideas)
|
||||
print(prmpt)
|
||||
response = await openai.ChatCompletion.acreate(
|
||||
model="gpt-3.5-turbo",
|
||||
|
||||
Reference in New Issue
Block a user