File size: 302 Bytes
66ee2b4
232d651
66ee2b4
bffc7a4
 
66ee2b4
 
 
232d651
 
66ee2b4
 
d48eb67
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)