Closed thangckt closed 1 week ago
hi @mapluisch
I tried to run this code in jupyter
import asyncio from .gpt import GPT async def run_session(): # create gpt instance & send initial prompt session = GPT(prompt="Tell me a joke.", streaming=False) await session.start() await session.close() asyncio.run(run_session())
The code work normal, and i can get text return from chatgpt. But, after the browser is closed, the code does not stop.
Can you check it. Thank.
hi @mapluisch
I tried to run this code in jupyter
The code work normal, and i can get text return from chatgpt. But, after the browser is closed, the code does not stop.
Can you check it. Thank.