From 595da5207b418876107bae2612438e05ec06a1af Mon Sep 17 00:00:00 2001 From: Paillat Date: Wed, 8 Feb 2023 10:19:02 +0100 Subject: [PATCH] Some things (changed imageint) --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index dd49efa..fe80e22 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ cooldown = os.getenv("COOLDOWN") if use_images != "No": import imagesGeneration logging.basicConfig(level=logging.INFO) imageint = "" -if use_images != "No": imageint = "To add an image illustration , use ![bg left:50% 70%](a-description-of-the-image.png) at the beginning of the slide, just after \"---\". Use only .png. It's not possible to add technical images but only illustrations. The images are generated by an ai, the name of the file should be a detailed description of the image wanted. For example \" ![bg left:50% 100%](a-man-wearing-a hat-ryding-a-bicicle.png)\" but don't need to show a person necessairly." +if use_images != "No": imageint = "To add an image illustration , use ![bg left:50% 70%](a-long-detailed-description-of-the-image.png) at the beginning of the slide, just after \"---\". Use only .png. It's not possible to add technical images but only illustrations. The images are generated by an ai, the name of the file should be a detailed quite long description of the image wanted. For example \" ![bg left:50% 100%](a-man-wearing-a hat-ryding-a-bicicle.png)\" but don't need to show a person necessairly." intstructions = f'''Here is a presentation with marp. It's not possible to make slides longer than 200 characters. to separate slides, "