Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaskapp.py Unable to generate PPT. #9

Open
szh-max opened this issue Nov 10, 2023 · 15 comments
Open

flaskapp.py Unable to generate PPT. #9

szh-max opened this issue Nov 10, 2023 · 15 comments

Comments

@szh-max
Copy link

szh-max commented Nov 10, 2023

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
Copy link

moonzaidi7262 commented Nov 10, 2023 via email

@szh-max
Copy link
Author

szh-max commented Nov 10, 2023

Thank you, I will try the old code.

@moonzaidi7262

@moonzaidi7262
Copy link

moonzaidi7262 commented Nov 10, 2023 via email

@otahina
Copy link
Owner

otahina commented Nov 10, 2023

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
Copy link
Author

szh-max commented Nov 14, 2023

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
Copy link
Owner

otahina commented Nov 14, 2023

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
Copy link
Author

szh-max commented Nov 14, 2023

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

@otahina
Copy link
Owner

otahina commented Nov 15, 2023

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
Copy link

Paras-waghela commented Feb 20, 2024

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
Copy link
Owner

otahina commented Feb 21, 2024

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

Repository owner deleted a comment from moonzaidi7262 Feb 21, 2024
@Paras-waghela
Copy link

@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
Copy link

siddheshshende commented Jul 28, 2024

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
Copy link

Someone, please provide the old code

@flyunit1811
Copy link

flyunit1811 commented Sep 13, 2024

sir its not working Please provide old code or help us

@Rinkyshu200
Copy link

can anyone plzz provide old code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants