Skip to content

Commit

Permalink
Merge pull request #83 from LlmKira/dev
Browse files Browse the repository at this point in the history
patch readme
  • Loading branch information
sudoskys authored Dec 21, 2024
2 parents 741e0a2 + 9e7700a commit 2673802
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ The goal of this repository is to use Pydantic to build legitimate requests to a
pip -U install novelai-python
```

More examples can be found in the [playground](https://github.com/LlmKira/novelai-python/tree/main/playground)
directory, read code as documentation.
**More examples can be found in the [playground](https://github.com/LlmKira/novelai-python/tree/main/playground)
directory, read code as documentation.**

```python
import asyncio
Expand Down Expand Up @@ -88,7 +88,7 @@ async def main():
)
cost = gen.calculate_cost(is_opus=True)
print(f"charge: {cost} if you are vip3")
resp = gen.request(session=session)
resp = await gen.request(session=session)
resp: ImageGenerateResp
print(resp.meta)
file = resp.files[0]
Expand Down

0 comments on commit 2673802

Please sign in to comment.