import gradio as gr | |
title = "Musicalization System of Painting" | |
description = "Pui Ching Middle School: Musicalization System of Painting Demo" | |
def greet(name): | |
return "Hello " + name + "!!" | |
iface = gr.Interface( | |
fn=greet, | |
title=title, | |
description=description, | |
#fn=greet, | |
inputs=gr.Image(), | |
outputs=gr.Audio()) | |
iface.launch() |