Spaces:
Paused
Paused
:zap: [Enhance] API: Ensure temperature to be positive
Browse files41 unmodified lines4243444546474841 unmodified linesself.request_body = {"inputs": prompt,"parameters": {"temperature": temperature,"max_new_tokens": max_new_tokens,"return_full_text": False,},41 unmodified lines4243444546474841 unmodified linesself.request_body = {"inputs": prompt,"parameters": {"temperature": max(temperature, 0.01), # must be positive"max_new_tokens": max_new_tokens,"return_full_text": False,},
networks/message_streamer.py+1-1