sdk | sdk_version | app_file |
---|---|---|
gradio |
3.32.0 |
app.py |
🐣 Please follow me for new updates https://twitter.com/camenduru
🔥 Please join our discord server https://discord.gg/k5BwmmvJJU
🥳 Please join my patreon community https://patreon.com/camenduru
https://github.com/openai/whisper https://github.com/sanchit-gandhi/whisper-jax
https://huggingface.co/openai/whisper-large-v2
from IPython.display import HTML, display
def set_css():
display(HTML('''
<style>
pre {
white-space: pre-wrap;
}
</style>
'''))
get_ipython().events.register('pre_run_cell', set_css)
!pip install gradio_client
from gradio_client import Client
client = Client("https://demo.PAGE_ID.lambdaspaces.com/")
video = client.predict("https://www.youtube.com/watch?v=SN2sak8Tp70", fn_index=0)
text, srt = client.predict(video, fn_index=1)
print(text)
print(srt)