Mahimai Raja J commited on
Commit
7da2736
·
1 Parent(s): cebd006

feat: Initialization

Browse files
Files changed (2) hide show
  1. .gitignore +2 -0
  2. app.py +14 -0
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ env
2
+ flagged
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+
4
+ def generateMusic():
5
+ return gr.Audio('assets/female.wav')
6
+
7
+
8
+ with gr.Blocks(
9
+ theme=gr.themes.Soft()
10
+ ) as demo:
11
+ gr.Markdown("# <center> Sound Script's Music Generation</center>")
12
+ gr.Markdown("### Yet to be connect to the backend")
13
+ iface = gr.Interface(fn=generateMusic, inputs="text", outputs='audio')
14
+ demo.launch()