Skip to content

Commit

Permalink
Release 0.0.1-beta5
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Sep 5, 2024
1 parent c4e851b commit 4db1425
Show file tree
Hide file tree
Showing 102 changed files with 7,523 additions and 10,255 deletions.
22 changes: 4 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,12 @@ pip install gooeyai
Instantiate and use the client with the following:

```python
from gooey import AnimationPrompt, Gooey
from gooey import Gooey

client = Gooey(
api_key="YOUR_API_KEY",
)
client.animate(
animation_prompts=[
AnimationPrompt(
frame="frame",
prompt="prompt",
)
],
)
client.animate()
```

## Async Client
Expand All @@ -38,22 +31,15 @@ The SDK also exports an `async` client so that you can make non-blocking calls t
```python
import asyncio

from gooey import AnimationPrompt, AsyncGooey
from gooey import AsyncGooey

client = AsyncGooey(
api_key="YOUR_API_KEY",
)


async def main() -> None:
await client.animate(
animation_prompts=[
AnimationPrompt(
frame="frame",
prompt="prompt",
)
],
)
await client.animate()


asyncio.run(main())
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gooeyai"
version = "0.0.1-beta3"
version = "0.0.1-beta5"
description = ""
readme = "README.md"
authors = []
Expand Down
Loading

0 comments on commit 4db1425

Please sign in to comment.