import gradio as gr theme = gr.themes.Soft() # Define a function that echoes the input text def echo_text(input_text): return input_text iface = gr.Interface( fn=echo_text, inputs=gr.Textbox(text="Enter text here..."), outputs=gr.Textbox(), live=True, title="LLM Evaluator with Linguistic Scrutiny", theme=theme ) with gr.Row(): chatgot_btn = gr.Button("ChatGPT") llama_btn = gr.Button("LLaMA") vicuna_btn = gr.Button("Vicuna") alpaca_btn = gr.Button("Alpaca") flant5_btn = gr.Button("Flan-T5") iface.launch()