metaimagine/ai-pptx

No such file gradio_app.py, and run.py return No model pythoncom ,

Opened this issue · 5 comments

No such file gradio_app.py, and run.py return No model pythoncom ,

Mac os and python >=10

Mac os and python >=10

Oh, sry it's my oversight, and latest version launch file is run.py.

Pls input in terminal : $ python run.py

Maybe you cant use the local way to generate ppt. Because some requirement need windows, and I haven't tested whether Mac os works.

If you have a successful operation, pls do let me know :).

ok,我阅读源码,发现他是复制ppt,并将多余的ppt删除,这个操作我可以使用pptx包的功能来做,等我测试完成,会提交代码

okk,原本的pptx库有问题... 复制以后会有各种textbox或者img会在布局上乱套的情况,找了很多方案也没解决。

总之很折磨,所以我后面索性用了应用层的接口...你可以尝试下。欢迎pr~