Spaces:
Sleeping
Sleeping
Update app.py
Browse files1 unmodified line23456785 unmodified lines141516171819201 unmodified lineimport randomfrom huggingface_hub import InferenceClientclient = InferenceClient("Qwen/Qwen2.5-72B-Instruct")# To change the LLM ^def respond(message, history):5 unmodified linesmessages.append({"role": "user", "content" : message})response = client.chat_completion(messages, max_tokens = 100# to change the length)1 unmodified line23456785 unmodified lines14151617181920211 unmodified lineimport randomfrom huggingface_hub import InferenceClientclient = InferenceClient("google/gemma-3-27b-it")# To change the LLM ^def respond(message, history):5 unmodified linesmessages.append({"role": "user", "content" : message})response = client.chat_completion(messages,max_tokens = 100# to change the length)
app.py+3-2