alpaca4610 / nonebot-plugin-chatppt Goto Github PK
View Code? Open in Web Editor NEW在nonebot框架下实现一个AI生成指定主题PPT的文件并上传到群文件中
在nonebot框架下实现一个AI生成指定主题PPT的文件并上传到群文件中
我在使用模板后生成的PPT背景是完全空白的,请问这是模板的问题吗,标准的模板应该是什么样子的
qwq
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.