Spaces:
Running
Running
import gradio as gr | |
from pathlib import Path | |
from deepgram_transcribe import process | |
import os | |
track_title = gr.Markdown( | |
""" | |
You can track your progress here | |
""") | |
def process_submit(title, file, progress=gr.Progress()): | |
progress(0, desc="Starting...") | |
zip_folder_path = process(file, progress) | |
return zip_folder_path | |
file_output = gr.File() | |
title = gr.Markdown( | |
""" | |
# Playground | |
Upload your audio file here. | |
""") | |
gr.Interface(fn=process_submit, inputs=[title, file_output], outputs="file", allow_flagging="never").launch() | |