Spaces:
Runtime error
Runtime error
Update app.py
Browse files164 unmodified lines165166167168169170171172164 unmodified linesapi_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"}],stream=True,)for part in stream:164 unmodified lines165166167168169170171172164 unmodified linesapi_key= os.getenv('OPENAI_API_KEY'))stream = client.chat.completions.create(model='gpt-3.5-turbo',messages=conversation,stream=True,)for part in stream:
app.py+2-2