MetaImagine

Results 9 comments of MetaImagine

与remove后缀使用的方法有关系,使用的basename来移除文件名后缀,basename又跟localstate设定有关系,如果使用docker容器来启动默认的美国地区,会造成中文前缀丢失的情况。更改FileService中remove后缀名的方法即可。

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

okk,原本的pptx库有问题... 复制以后会有各种textbox或者img会在布局上乱套的情况,找了很多方案也没解决。 总之很折磨,所以我后面索性用了应用层的接口...你可以尝试下。欢迎pr~

应该是你openai库版本问题

可以贴下运行的log和访问的地址

没有报错应该是网址问题?http://127.0.0.1:8080可以访问么,直接访问0.0.0.0是不行的

> ![Image](https://github.com/user-attachments/assets/4839a661-87ea-4ca0-8057-da288b112da2) 哪有applications文件下面哪有app啊? hhh __init__文件, bro

> **init**.py文件里,你写的是一个 纯 Gradio 应用,并没有用到 FastAPI 或 Uvicorn 的原生功能,但现在却是用 uvicorn 启动的,Gradio 并没有挂载到路由 /,直接运行run.py会404 在这里兄弟,fastapi app上挂载gradio,路径是/gradio