antfraia commited on
Commit
0d5a69e
·
1 Parent(s): 59d8ead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -6,6 +6,13 @@ def convert_to_text(audio_path : str) -> str:
6
  result = model.transcribe(audio_path)
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
  iface.launch()
 
6
  result = model.transcribe(audio_path)
7
  return result["text"]
8
 
9
+
10
+
11
  audio_input = gr.components.Audio(type="filepath")
12
  iface = gr.Interface(fn=convert_to_text, inputs=audio_input, outputs="text")
13
+
14
+ title="Transform your audio into text",
15
+ description="Upload an audio here, either from your mobile or laptop and get it transcribed in a matter of seconds.",
16
+ theme="Monochrome",
17
+
18
  iface.launch()