from os import pipe import gradio as gr from functions.punctuation import punctuate def pipeline(video_id): punctuated_text = punctuate(video_id) return punctuated_text # print(pipeline("VL5M5ZihJK4")) demo = gr.Interface(fn=pipeline, inputs="text", outputs="text") demo.launch(share=True)