BeautyyuYanli commited on
Commit
ec02ffe
·
unverified ·
1 Parent(s): 345c2c6

fix readme (#107)

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -124,15 +124,15 @@ Three ways to pass in cookies:
124
 
125
  Use Async for the best experience
126
 
127
- [Reference code](https://github.com/acheong08/EdgeGPT/blob/master/src/EdgeGPT.py#L268-L328) for more advanced example of usage
128
 
129
  ```python
130
  import asyncio
131
- from EdgeGPT import Chatbot
132
 
133
  async def main():
134
  bot = Chatbot()
135
- print(await bot.ask(prompt="Hello world", conversation_style="creative"))
136
  await bot.close()
137
 
138
 
 
124
 
125
  Use Async for the best experience
126
 
127
+ Reference code for more advanced example of usage:
128
 
129
  ```python
130
  import asyncio
131
+ from EdgeGPT import Chatbot, ConversationStyle
132
 
133
  async def main():
134
  bot = Chatbot()
135
+ print(await bot.ask(prompt="Hello world", conversation_style=ConversationStyle.creative))
136
  await bot.close()
137
 
138