antfraia commited on
Commit
f9b726c
·
1 Parent(s): c976b99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -2
app.py CHANGED
@@ -7,6 +7,17 @@ def convert_to_text(audio_path : str) -> str:
7
  return result["text"]
8
 
9
  audio_input = gr.components.Audio(type="filepath")
10
- iface = gr.Interface(fn=convert_to_text, inputs=audio_input, outputs="text")
11
- theme="Monochrome",
 
 
 
 
 
 
 
 
 
 
 
12
  iface.launch()
 
7
  return result["text"]
8
 
9
  audio_input = gr.components.Audio(type="filepath")
10
+
11
+ # Interface for Gradio
12
+ iface = gr.Interface(
13
+ fn=convert_to_text,
14
+ inputs=audio_input,
15
+ outputs="text"
16
+ title="Free audio transcription",
17
+ description="Upload an audio here and get a bullet-point summary of its content.",
18
+ theme="Monochrome",
19
+ live=True,
20
+ capture_session=True,
21
+ )
22
+
23
  iface.launch()