Spaces:
Sleeping
Sleeping
import gradio as gr | |
from deepgram_transcribe import process | |
def process_submit(title, file, tag, progress=gr.Progress()): | |
progress(0, desc="Starting...") | |
zip_folder_path = process(file, tag, progress) | |
return zip_folder_path | |
textbox = gr.Textbox( | |
label="TAGS", | |
info="Examples: DG, vogue, etc.", | |
lines=1, | |
value="DG", | |
) | |
file_output = gr.File() | |
title = gr.Markdown( | |
""" | |
# Playground | |
Upload your audio file here. | |
""") | |
gr.Interface(fn=process_submit, inputs=[title, file_output, textbox], outputs="file", allow_flagging="never").launch() |