Update app.py
Browse files45 unmodified lines4647484950515210 unmodified lines636465656667686970717273666745 unmodified lines
demo = 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 lines
if __name__ == "__main__": with gr.Blocks(): # Adding a label at the top of the page gr.Markdown( """ # Welcome to My Chat Interface This 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()app.py+2-9