Skip to content

Commit

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

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

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

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

from gooey import AsyncGooey
from gooey import AnimationPrompt, AsyncGooey

client = AsyncGooey(
api_key="YOUR_API_KEY",
)


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


asyncio.run(main())
Expand Down
197 changes: 99 additions & 98 deletions poetry.lock

Large diffs are not rendered by default.

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-beta5"
version = "0.0.1-beta6"
description = ""
readme = "README.md"
authors = []
Expand Down
Loading

0 comments on commit 42e8681

Please sign in to comment.