0qwpifs commited on
Commit
8635c9e
·
verified ·
1 Parent(s): c3e02d5

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def process_audio(input_audio):
4
+ # Здесь будет ваш код обработки аудио
5
+ return input_audio
6
+
7
+ demo = gr.Interface(
8
+ fn=process_audio,
9
+ inputs=gr.Audio(label="Загрузите аудиофайл"),
10
+ outputs=gr.Audio(label="Обработанный аудиофайл"),
11
+ title="VoiceReplacer",
12
+ description="Замените голос в аудиофайле на ваш собственный голос"
13
+ )
14
+
15
+ demo.launch()