Skip to content

Commit 42e8681

Browse files
committed
Release 0.0.1-beta6
1 parent 4db1425 commit 42e8681

File tree

291 files changed

+18457
-6745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

291 files changed

+18457
-6745
lines changed

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,19 @@ pip install gooeyai
1616
Instantiate and use the client with the following:
1717

1818
```python
19-
from gooey import Gooey
19+
from gooey import AnimationPrompt, Gooey
2020

2121
client = Gooey(
2222
api_key="YOUR_API_KEY",
2323
)
24-
client.animate()
24+
client.animate(
25+
animation_prompts=[
26+
AnimationPrompt(
27+
frame="frame",
28+
prompt="prompt",
29+
)
30+
],
31+
)
2532
```
2633

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

34-
from gooey import AsyncGooey
41+
from gooey import AnimationPrompt, AsyncGooey
3542

3643
client = AsyncGooey(
3744
api_key="YOUR_API_KEY",
3845
)
3946

4047

4148
async def main() -> None:
42-
await client.animate()
49+
await client.animate(
50+
animation_prompts=[
51+
AnimationPrompt(
52+
frame="frame",
53+
prompt="prompt",
54+
)
55+
],
56+
)
4357

4458

4559
asyncio.run(main())

poetry.lock

Lines changed: 99 additions & 98 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "gooeyai"
3-
version = "0.0.1-beta5"
3+
version = "0.0.1-beta6"
44
description = ""
55
readme = "README.md"
66
authors = []

0 commit comments

Comments
 (0)