Giter Site home page Giter Site logo

nonebot-plugin-chatppt's People

Contributors

alpaca4610 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wanghaisheng

nonebot-plugin-chatppt's Issues

请问大佬关于模板的问题

我在使用模板后生成的PPT背景是完全空白的,请问这是模板的问题吗,标准的模板应该是什么样子的

PPT生成报错 Error communicating with OpenAI

QQ截图20230718063647
QQ截图20230718063729
后台没出报错
最后一行输出07-18 06:41:25 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_chatppt) running complete
大佬能解答一下是什么原因吗,key没问题

请问大佬这种运行失败是因为什么啊

04-17 23:04:10 [DEBUG] nonebot | Running PreProcessors...
04-17 23:04:10 [DEBUG] nonebot | Checking for matchers in priority 1...
04-17 23:04:10 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_chatppt)
04-17 23:04:10 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_plugin_chatppt)
04-17 23:04:10 [DEBUG] nonebot | Running handler Dependent(call=_)
04-17 23:04:10 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_chatppt) running complete
04-17 23:04:10 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_chatppt) failed.
Traceback (most recent call last):
File "", line 21, in
File "D:\nb\new-bot2.venv\lib\site-packages\nonebot_init_.py", line 309, in run
get_driver().run(*args, **kwargs)
File "D:\nb\new-bot2.venv\lib\site-packages\nonebot\drivers\fastapi.py", line 198, in run
uvicorn.run(
File "D:\nb\new-bot2.venv\lib\site-packages\uvicorn\main.py", line 568, in run
server.run()
File "D:\nb\new-bot2.venv\lib\site-packages\uvicorn\server.py", line 59, in run
return asyncio.run(self.serve(sockets=sockets))
File "E:\Anaconda\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "E:\Anaconda\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "E:\Anaconda\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "E:\Anaconda\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "E:\Anaconda\lib\asyncio\base_events.py", line 1905, in _run_once
handle._run()
File "E:\Anaconda\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\nb\new-bot2.venv\lib\site-packages\nonebot\message.py", line 141, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)

File "D:\nb\new-bot2.venv\lib\site-packages\nonebot\message.py", line 187, in run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "D:\nb\new-bot2.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 753, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "D:\nb\new-bot2.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 728, in simple_run
await handler(
File "D:\nb\new-bot2.venv\lib\site-packages\nonebot\dependencies_init
.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "D:\nb\new-bot2.venv\lib\site-packages\nonebot_plugin_chatppt_init_.py", line 65, in _
if slides_limit < int(length):
TypeError: '<' not supported between instances of 'str' and 'int'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.