Spaces:
Sleeping
Sleeping
File size: 418 Bytes
3f298f4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import gradio as gr
from iman.sad_tf import *
def transcribe_audio(audio_file):
return "ok"
# Define the Gradio interface
interface = gr.Interface(
fn=transcribe_audio,
inputs=gr.Audio(source="microphone", type="filepath"),
outputs="text",
title="Audio Transcription",
description="Upload an audio file or record audio to get the transcription."
)
# Launch the Gradio app
interface.launch()
|