XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Fix generate video

7f6b528e
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/needs_auth/Video.py +1 -1
@@ -97,7 +97,7 @@ class Video(AsyncGeneratorProvider, ProviderModelMixin):
97 97 debug.error(f"Error getting nodriver:", e)
98 98 async with ClientSession() as session:
99 99 yield Reasoning(label="Generating")
100 async with session.post(cls.api_url + quote(prompt)) as response:
100 async with session.get(cls.api_url + quote(prompt)) as response:
101 101 if not response.ok:
102 102 debug.error(f"Failed to generate Video: {response.status}")
103 103 else: