diff --git a/api-example-stream.py b/api-example-stream.py index add1df41..055d605b 100644 --- a/api-example-stream.py +++ b/api-example-stream.py @@ -44,14 +44,14 @@ async def run(context): case "send_hash": await websocket.send(json.dumps({ "session_hash": session, - "fn_index": 7 + "fn_index": 9 })) case "estimation": pass case "send_data": await websocket.send(json.dumps({ "session_hash": session, - "fn_index": 7, + "fn_index": 9, "data": [ context, params['max_new_tokens'],