magnet-frontend / app.py
Mahimai Raja J
feat: Initialization
7da2736
raw
history blame contribute delete
360 Bytes
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()