Spaces:
Runtime error
Runtime error
Update app.py
Browse files171 unmodified lines172173174175175176177178179171 unmodified lines for part in stream: chunk_message = (part.choices[0].delta.content or "") collected_messages.append(chunk_message) # save the message content=part["choices"][0].get("delta",{}).get("content") #content=part["choices"][0].get("delta",{}).get("content") content=part.choices[0].delta.content try: report.append(content) if len(content) > 0:app.py+2-1