Update app.py
Browse files3 unmodified lines4567891035 unmodified lines4647484950515253545556575859606162633 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("unsloth/Llama-3.2-1B-Instruct")def respond(35 unmodified linesdemo = gr.ChatInterface(respond,inputs = [gr.Markdown("""# Welcome to My Chat InterfaceThis app uses the Llama-3.2-1B-Instruct model to provide conversational AI responses.Adjust the parameters below to customize the chat behavior.""",),]additional_inputs=[gr.Textbox(value="You are a friendly Chatbot.", label="System message"),gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),gr.Slider(minimum=0.1, maximum=4.0, value=0.75, step=0.1, label="Temperature"),gr.Slider(3 unmodified lines4567891035 unmodified lines4647484950515253545556575859606162633 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("DrDomedag/LocoLamav2")def respond(35 unmodified linesdemo = gr.ChatInterface(respond,additional_inputs=[gr.Textbox(value="You are a friendly Chatbot.", label="System message"),gr.Markdown("""# Welcome to My Chat InterfaceThis app uses the Llama-3.2-1B-Instruct model to provide conversational AI responses.Adjust the parameters below to customize the chat behavior.""",),gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),gr.Slider(minimum=0.1, maximum=4.0, value=0.75, step=0.1, label="Temperature"),gr.Slider(
app.py+7-7