Spaces:
Build error
Build error
Update app.py
Browse files99 unmodified lines10010110210310410310410510699 unmodified lines response = inference_client.post( json={ "inputs": prompt, "parameters": {"max_new_tokens": 500}, "task": "text-generation", "parameters": {"max_new_tokens": 500} }, ) return json.loads(response.decode())[0]["generated_text"]app.py+1-2