JonnoMason
commited on
Commit
•
6982259
1
Parent(s):
c0400f9
Update app.py
Browse files
app.py
CHANGED
@@ -24,15 +24,4 @@ def process_output(audio):
|
|
24 |
|
25 |
return csv_buffer.getvalue()
|
26 |
|
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 |
|
|
|
24 |
|
25 |
return csv_buffer.getvalue()
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|