sponsoredbye / app.py
IanRonk's picture
Add punctuation part
66ee2b4
raw
history blame
302 Bytes
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)