Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rekcah-pavi authored Jul 21, 2024
1 parent a4f9ffe commit d768335
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,29 @@ with open("chrome-net-export-log.json",'r') as f:

print(cookies)
```
***

## Usage
## Setup gemini
```python
from geminikit import Gemini
gemini = Gemini(cookies)

```

### Ask a message
```python
res = gemini.ask("hello")
print(res['text'])
```


### Text to Voice
```python
res = gemini.speech("hello")
with open("a.wav","wb") as f:
f.write(res)
```



0 comments on commit d768335

Please sign in to comment.