Spaces:
Runtime error
Runtime error
import gradio as gr | |
def process(name): | |
return "Difficulty Report for " + name + "!" | |
with gr.Blocks() as demo: | |
name = gr.Textbox(label="Score (vextab or musicxml)") | |
output = gr.Textbox(label="Difficulty Analysis Report") | |
greet_btn = gr.Button("Process") | |
greet_btn.click(fn=process, inputs=name, outputs=output, api_name="process") | |
demo.launch() | |