Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines456789101118 unmodified lines303132333435363 unmodified lines"""For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference"""client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")def respond(message,18 unmodified linesfor message in client.chat_completion(messages,max_tokens=max_tokens,stream=True,temperature=temperature,top_p=top_p,):3 unmodified lines45678910111218 unmodified lines313233343536373 unmodified lines"""For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference"""#client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")client = InferenceClient("Qwen/Qwen3-30B-A3B-Instruct-2507")def respond(message,18 unmodified linesfor message in client.chat_completion(messages,max_tokens=max_tokens,stream=False,temperature=temperature,top_p=top_p,):
app.py+3-2