guitar-diff / app.py
xribene
old app
c806a32
raw
history blame contribute delete
369 Bytes
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()