Spaces:
Runtime error
Runtime error
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 | |
) | |
iface.launch() |