Update app.py
Browse files45 unmodified lines46474849505110 unmodified lines6263646566676869707172737445 unmodified linesdemo = gr.ChatInterface(respond,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"),10 unmodified linesif __name__ == "__main__":with gr.Blocks():# Adding a label at the top of the pagegr.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.""")demo.launch()45 unmodified lines4647484950515210 unmodified lines636465666745 unmodified linesdemo = gr.ChatInterface(respond,theme = "soft",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"),10 unmodified linesif __name__ == "__main__":demo.launch()
app.py+2-9