JonnoMason commited on
Commit
c0400f9
1 Parent(s): 3d17bcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -27,11 +27,12 @@ def process_output(audio):
27
  # Create the Gradio interface
28
  iface = gr.Interface(
29
  fn=process_output,
30
- inputs=gr.Audio(source="microphone", type="file"),
31
- outputs="file",
32
  title="Audio Transcription to CSV",
33
  description="Upload an audio file and get the transcription in a CSV format with timestamps."
34
  )
35
 
36
  # Launch the app
37
  iface.launch()
 
 
27
  # Create the Gradio interface
28
  iface = gr.Interface(
29
  fn=process_output,
30
+ inputs=gr.Audio(type="file"),
31
+ outputs=gr.File(type="csv"),
32
  title="Audio Transcription to CSV",
33
  description="Upload an audio file and get the transcription in a CSV format with timestamps."
34
  )
35
 
36
  # Launch the app
37
  iface.launch()
38
+