Spaces:
Runtime error
Runtime error
Update app.py
Browse files164 unmodified lines165166167168169168169170171172164 unmodified lines api_key= os.getenv('OPENAI_API_KEY') ) stream = client.chat.completions.create( prompt="Say this is a test", messages=[{"role": "user", "content": "Say this is a test"}], model='gpt-3.5-turbo', messages=conversation, stream=True, ) for part in stream:app.py+2-2