PowerPoint-Generator-Python-Project icon indicating copy to clipboard operation
PowerPoint-Generator-Python-Project copied to clipboard

flaskapp.py Unable to generate PPT.

Open szh-max opened this issue 2 years ago • 16 comments

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

szh-max avatar Nov 10 '23 09:11 szh-max

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: @.***>

moonzaidi7262 avatar Nov 10 '23 09:11 moonzaidi7262

Thank you, I will try the old code.

@moonzaidi7262

szh-max avatar Nov 10 '23 09:11 szh-max

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>

moonzaidi7262 avatar Nov 10 '23 09:11 moonzaidi7262

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?

otahina avatar Nov 10 '23 14:11 otahina

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

szh-max avatar Nov 14 '23 07:11 szh-max

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!

otahina avatar Nov 14 '23 09:11 otahina

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

szh-max avatar Nov 14 '23 09:11 szh-max

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.

otahina avatar Nov 15 '23 14:11 otahina

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

Paras-waghela avatar Feb 20 '24 14:02 Paras-waghela

@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.

otahina avatar Feb 21 '24 10:02 otahina

@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.

Paras-waghela avatar Feb 21 '24 12:02 Paras-waghela

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???

siddheshshende avatar Jul 28 '24 09:07 siddheshshende

Someone, please provide the old code

rohanwagh009 avatar Aug 24 '24 07:08 rohanwagh009

sir its not working Please provide old code or help us

flyunit1811 avatar Sep 13 '24 13:09 flyunit1811

can anyone plzz provide old code

Rinkyshu200 avatar Jan 06 '25 16:01 Rinkyshu200