Spaces:
Sleeping
Sleeping
Update app.py
Browse files3 unmodified lines456778910111218 unmodified lines31323333343536373 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("HuggingFaceH4/zephyr-7b-beta")client = InferenceClient("Qwen/Qwen3-30B-A3B-Instruct-2507")
def respond( message,18 unmodified lines for message in client.chat_completion( messages, max_tokens=max_tokens, stream=True, stream=False, temperature=temperature, top_p=top_p, ):app.py+3-2