Alberto Primerano commited on
Commit
fd6c4e0
·
1 Parent(s): 51ff413

Change Interface

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -3,5 +3,13 @@ import gradio as gr
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- iface.launch()
 
 
 
 
 
 
 
 
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
+ iface = gr.Interface(
7
+ fn=greet,
8
+ inputs="file",
9
+ outputs="audio",
10
+ live=True,
11
+ title="Audio Processor",
12
+ description="Process audio files and return the processed audio.",
13
+ )
14
+ if __name__ == "__main__":
15
+ iface.launch()