Spaces:
Runtime error
Runtime error
File size: 369 Bytes
df4b493 c806a32 df4b493 c806a32 df4b493 c806a32 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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()
|