mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Fix generate video
This commit is contained in:
parent
c50f2f47ff
commit
7f6b528e44
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ class Video(AsyncGeneratorProvider, ProviderModelMixin):
|
|||
debug.error(f"Error getting nodriver:", e)
|
||||
async with ClientSession() as session:
|
||||
yield Reasoning(label="Generating")
|
||||
async with session.post(cls.api_url + quote(prompt)) as response:
|
||||
async with session.get(cls.api_url + quote(prompt)) as response:
|
||||
if not response.ok:
|
||||
debug.error(f"Failed to generate Video: {response.status}")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue