otahina / PowerPoint-Generator-Python-Project

Discover the power of GPT-3.5 turbo in presentation creation! 💻🤩 This web application can effortlessly generate captivating PowerPoint presentations. Say goodbye to the struggle of starting from scratch and let AI revolutionize your content creation process. 🎨
MIT License
244 stars 78 forks source link

flaskapp.py Unable to generate PPT. #9

Open szh-max opened 11 months ago

szh-max commented 11 months ago

I tried running flaskapp.py, but the command keeps running without generating the ppt, and the page is white. How can I solve this? 1 image

moonzaidi7262 commented 11 months ago

last time hina updates the code of flaskapp.py and some other changes after this changes this is not running but i have old code before update

On Fri, Nov 10, 2023, 2:29 PM szh-max @.***> wrote:

I tried running flaskapp.py, but the command keeps running without generating the ppt, and the page is white. How can I solve this? [image: 1] https://user-images.githubusercontent.com/85436364/282016425-676aec53-87a5-4a27-9dc9-b837c7280be5.PNG [image: image] https://user-images.githubusercontent.com/85436364/282016597-e5743878-f278-4476-98e9-ab8ffce42b83.png

— Reply to this email directly, view it on GitHub https://github.com/otahina/PowerPoint-Generator-Python-Project/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2SSGKX2UC2XAEJ7Q7UEHL3YDXXXLAVCNFSM6AAAAAA7F4GAQ2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DOMRUG4YTSNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

szh-max commented 11 months ago

Thank you, I will try the old code.

@moonzaidi7262

moonzaidi7262 commented 11 months ago

You're welcome!

On Fri, Nov 10, 2023, 2:41 PM szh-max @.***> wrote:

Thank you, I will try the old code.

@moonzaidi7262 https://github.com/moonzaidi7262

— Reply to this email directly, view it on GitHub https://github.com/otahina/PowerPoint-Generator-Python-Project/issues/9#issuecomment-1805394057, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2SSGKRYIKGCMUDEOCXNTV3YDXZDJAVCNFSM6AAAAAA7F4GAQ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVGM4TIMBVG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

otahina commented 11 months ago

Hi @szh-max! Looks like CSS and JavaScript are not working, and I'll revive code as soon as I can. The one you are making a red circle, that is supposed to appear when you click generate your presentation. (which means JS is not working well) Can you tell me if CSS is working properly on http://127.0.0.1:5001?

szh-max commented 11 months ago

Sorry, I just saw your message now. I am currently using the old version and it is working fine, but the new version is running into errors when I try to run it on COLAB. Do you have any recommendations for research papers related to generating PowerPoint presentations? I am currently studying in this area. Thank you! @otahina

otahina commented 11 months ago

Hi! Can you tell me if you see any error message in Colab? Regarding research papers, you can explore the field of Natural Language Processing(NLP). If you are curios about how this project code works(mostly in terms of how we can use GPT to generate powerpoint), you can refer this documentation. CODE_STRUCTURE.md Let me know if you have further questions!

szh-max commented 11 months ago

There are no error messages in Colab, but the http://127.0.0.1:5001/ page did not successfully generate the PowerPoint presentation.

otahina commented 11 months ago

Since Google Colab runs in the cloud, accessing web apps via localhost can be tricky. A simpler solution is to run your server locally using an IDE like PyCharm. This allows direct access through localhost on your browser, so it might help solve your issue. :) Let me know if there is a progress.

Paras-waghela commented 8 months ago

IMG_20240220_200302 Hi! Hina ota i am getting some problem while using project after i click on Generate your presentation it will only loading but ppt is not generate please can u help me and reply me as soon as possible

otahina commented 8 months ago

@Paras-waghela Hello, I would like to mention two things. First, "click to download" button always appears, because the feature of hiding and showing the download button is not implemented. Thus, the button can't be the indicator of generated presentation. Secondly, even though the download button can't be the indicator, the loading indicator works, so after you click generate the presentation button, if the indicator doesn't stop, that means the presentation is not generated. Try to use a fewer number of slide (ex. 2) to see if the presentation can be generated. Note that it takes some time until the presentation can be generated, so you need to wait for a certain amount of time. Let me know how it goes.

Paras-waghela commented 8 months ago

@otahina Thank you so much for the detailed explanation. I'll check the presentation generation process and let you know if I encounter any issues.

siddheshshende commented 2 months ago

last time hina updates the code of flaskapp.py and some other changes after this changes this is not running but i have old code before update … On Fri, Nov 10, 2023, 2:29 PM szh-max @.> wrote: I tried running flaskapp.py, but the command keeps running without generating the ppt, and the page is white. How can I solve this? [image: 1] https://user-images.githubusercontent.com/85436364/282016425-676aec53-87a5-4a27-9dc9-b837c7280be5.PNG [image: image] https://user-images.githubusercontent.com/85436364/282016597-e5743878-f278-4476-98e9-ab8ffce42b83.png — Reply to this email directly, view it on GitHub <#9>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2SSGKX2UC2XAEJ7Q7UEHL3YDXXXLAVCNFSM6AAAAAA7F4GAQ2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DOMRUG4YTSNA . You are receiving this because you are subscribed to this thread.Message ID: @.>

can you share the old code, it will be helpful???

rohanwagh009 commented 1 month ago

Someone, please provide the old code

flyunit1811 commented 1 month ago

sir its not working Please provide old code or help us