File size: 582 Bytes
e8e247e
081b46f
814e7e2
 
 
a845f21
 
6f1af31
ec7540b
75ef19a
7b8870b
 
814e7e2
 
 
b934ee9
182a838
b3f873e
 
 
 
 
 
 
814e7e2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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()