File size: 360 Bytes
7da2736
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import gradio as gr


def generateMusic():
    return gr.Audio('assets/female.wav')


with gr.Blocks(
    theme=gr.themes.Soft()
    ) as demo:
    gr.Markdown("# <center> Sound Script's Music Generation</center>")
    gr.Markdown("### Yet to be connect to the backend")
    iface = gr.Interface(fn=generateMusic, inputs="text", outputs='audio')
demo.launch()